NamespacesWithFlows
List distinct Kestra namespaces
Retrieves a list of all distinct namespaces within a Kestra instance, optionally filtered by a prefix.
type: "io.kestra.plugin.kestra.namespaces.NamespacesWithFlows"
Examples
List all distinct namespaces
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
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
auth Non-dynamicAbstractKestraTask-Auth
Authentication information.
kestraUrl string
Kestra API URL. If null, uses 'kestra.url' from configuration. If that is also null, defaults to 'http://localhost: 8080'.
prefix string
The namespace prefix, if null, all namespaces will be listed.
tenantId string
The tenant ID to use for the request, defaults to current tenant.
Outputs
namespaces array
A list of distinct Kestra namespaces
Definitions
io.kestra.plugin.kestra.AbstractKestraTask-Auth
apiToken string
API token.
password string
Password for HTTP Basic authentication.
username string
Username for HTTP Basic authentication.