NamespacesWithFlows​Namespaces​With​Flows

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.

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.

SubType string

A list of distinct Kestra namespaces

API token.

Password for HTTP Basic authentication.

Username for HTTP Basic authentication.