NamespacesWithFlowsNamespacesWithFlows
NamespacesWithFlowsCertified

List distinct Kestra namespaces.

List distinct Kestra namespaces.

Retrieves a list of all distinct namespaces within a Kestra instance, optionally filtered by a prefix.

yaml
type: "io.kestra.plugin.kestra.namespaces.NamespacesWithFlows"

List all distinct namespaces

yaml
id: distinct_all_namespaces
namespace: company.team

tasks:
  - id: list_namespaces
    type: io.kestra.plugin.kestra.namespaces.NamespacesWithFlows
    kestraUrl: http://localhost:8080
    auth:
      username: [email protected] # pass your Kestra username as secret or KV pair
      password: Admin1234 # pass your Kestra password as secret or KV pair

List distinct namespaces with a specific prefix

yaml
id: distinct_prefixed_namespaces
namespace: company.team

tasks:
  - id: list_prefixed_namespaces
    type: io.kestra.plugin.kestra.namespaces.NamespacesWithFlows
    kestraUrl: https://my-ee-instance.io
    auth:
      username: [email protected] # pass your Kestra username as secret or KV pair
      password: Admin1234 # pass your Kestra password as secret or KV pair
    prefix: dev
    tenantId: mytenant
Properties

Authentication information.

Authentication used to call the Kestra API. Uses the same credentials as Kestra login: either an API token or HTTP Basic (username/password).

Definitions
apiTokenstring

API token

passwordstring

Password for HTTP basic authentication

usernamestring

Username for HTTP basic authentication

Kestra API URL. If null, uses 'kestra.url' from configuration. If that is also null, defaults to 'http://localhost: 8080'.

The namespace prefix, if null, all namespaces will be listed.

The tenant ID to use for the request, defaults to current tenant.

SubTypestring

A list of distinct Kestra namespaces