List Kestra Namespaces
Retrieves a list of Kestra namespaces, offering options for filtering by prefix, pagination, and excluding non-existent namespaces.
type: "io.kestra.plugin.kestra.namespaces.List"
List all namespaces with pagination
id: list_paginated_namespaces
namespace: company.team
tasks:
- id: list_namespaces_paged
type: io.kestra.plugin.kestra.flows.List
kestraUrl: http://localhost:8080
auth:
username: admin
password: password
page: 1
size: 20
List only existing namespaces starting with 'dev.'
id: list_filtered_namespaces
namespace: company.team
tasks:
- id: list_dev_namespaces
type: io.kestra.plugin.kestra.flows.List
kestraUrl: https://cloud.kestra.io
auth:
username: user
password: secret
tenantId: mytenant
prefix: dev.
existingOnly: true
List all namespaces without pagination (fetch all pages)
id: list_all_namespaces
namespace: company.team
tasks:
- id: fetch_all_namespaces
type: io.kestra.plugin.kestra.flows.List
kestraUrl: http://localhost:8080
auth:
username: admin
password: password
# No 'page' or 'size' properties to fetch all
Authentication information.
false
Return only existing namespace
Set to true, namespaces that exists only because a flow is using it will not be returned.
Kestra API URL, if null, http://localhost: 8080
will be used.
If not provided, every pages are fetched
For example, set to 1, it can be used to only fetch the first 10 results used with size
.
The namespace prefix, if null, all namespaces will be listed.
10
The number of namespaces to return per page.
main
The tenant ID to use for the request, defaults to 'main'.
A list of Kestra namespaces.
API token.
Password for HTTP Basic authentication.
Username for HTTP Basic authentication.