
Kestra Plugin NamespacesWithFlows
CertifiedList distinct namespaces
Kestra Plugin NamespacesWithFlows
List distinct namespaces
Returns distinct namespaces that contain flows, optionally filtered by prefix.
type: io.kestra.plugin.kestra.namespaces.NamespacesWithFlowsExamples
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: admin@kestra.io # pass your Kestra username as secret or KV pair
password: "{{ secret('KESTRA_PASSWORD') }}" # 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: admin@kestra.io # pass your Kestra username as secret or KV pair
password: "{{ secret('KESTRA_PASSWORD') }}" # pass your Kestra password as secret or KV pair
prefix: dev
tenantId: mytenant
Properties
auth Non-dynamic
Select API authentication
Use either an API token or HTTP Basic (username/password); do not provide both.
io.kestra.plugin.kestra.AbstractKestraTask-Auth
API token for bearer auth
trueAutomatically retrieve credentials from Kestra's configuration if available
The default configuration can be configured globally inside the Kestra configuration file:
- Set
kestra.tasks.sdk.authentication.api-tokento use an API token - Set
kestra.tasks.sdk.authentication.usernameandkestra.tasks.sdk.authentication.passwordfor HTTP basic authentication - Set
kestra.tasks.sdk.authentication.urlto also default the Kestra API endpoint (seekestraUrlabove) The Enterprise edition also provides setting a default configuration at the Namespace or Tenant level by an administrator. Set to false to also opt out of the default URL.
Password for HTTP Basic auth
Username for HTTP Basic auth
kestraUrl string
Override Kestra API endpoint
URL used for calls to the Kestra API. When null, falls back to the url configured alongside the default SDK authentication (Namespace or Tenant level, Enterprise edition), then renders {{ kestra.url }} from configuration; if still empty, defaults to http://localhost: 8080. Trailing slashes are stripped before use.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
prefix string
Namespace prefix
Defaults to empty string to include all namespaces.
tenantId string
Override target tenant
Tenant identifier applied to API calls; defaults to the current execution tenant.
Outputs
namespaces array
A list of distinct Kestra namespaces