
NamespacesWithFlows
List distinct Kestra namespaces.
List distinct Kestra namespaces.
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
authNon-dynamic
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).
io.kestra.plugin.kestra.AbstractKestraTask-Auth
API token
Password for HTTP basic authentication
Username for HTTP basic authentication
kestraUrlstring
Kestra API URL. If null, uses 'kestra.url' from configuration. If that is also null, defaults to 'http://localhost: 8080'.
prefixstring
The namespace prefix, if null, all namespaces will be listed.
tenantIdstring
The tenant ID to use for the request, defaults to current tenant.
Outputs
namespacesarray
A list of distinct Kestra namespaces