yaml
type: "io.kestra.plugin.kestra.namespaces.list"
yaml
id: list_paginated_namespaces
namespace: company.team

tasks:
  - id: list_namespaces_paged
    type: io.kestra.plugin.kestra.namespaces.List
    kestraUrl: http://localhost:8080
    auth:
      username: admin@kestra.io # pass your Kestra username as secret or KV pair
      password: Admin1234 # pass your Kestra password as secret or KV pair
    page: 1
    size: 20

yaml
id: list_filtered_namespaces
namespace: company.team

tasks:
  - id: list_dev_namespaces
    type: io.kestra.plugin.kestra.namespaces.List
    kestraUrl: https://cloud.kestra.io
    auth:
      username: admin@kestra.io # pass your Kestra username as secret or KV pair
      password: Admin1234 # pass your Kestra password as secret or KV pair
    tenantId: mytenant
    prefix: dev.
    existingOnly: true

yaml
id: list_all_namespaces
namespace: company.team

tasks:
  - id: fetch_all_namespaces
    type: io.kestra.plugin.kestra.namespaces.List
    kestraUrl: http://localhost:8080
    auth:
      username: admin@kestra.io # pass your Kestra username as secret or KV pair
      password: Admin1234 # pass your Kestra password as secret or KV pair
    # No 'page' or 'size' properties to fetch all
Properties
Default false
Default 10
SubType string