
Kestra Plugin List
CertifiedList flows in a namespace
Kestra Plugin List
List flows in a namespace
Retrieves flows for the given namespace; defaults to the current flow namespace when unset.
type: io.kestra.plugin.kestra.flows.ListExamples
List flows in the current namespace
id: list_current_namespace_flows
namespace: company.team.myflow
tasks:
- id: list_flows
type: io.kestra.plugin.kestra.flows.List
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 flows in a specific namespace
id: list_specific_namespace_flows
namespace: company.team.admin
tasks:
- id: list_dev_flows
type: io.kestra.plugin.kestra.flows.List
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
namespace: dev.flows
tenantId: myorganization
Properties
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150auth
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, and to call a Kestra API that requires no authentication when no credentials are set either.
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.
namespace string
Namespace to list
Defaults to the current flow namespace when null.
tenantId string
Override target tenant
Tenant identifier applied to API calls; defaults to the current execution tenant.
Outputs
flows array
A list of Kestra flows found
io.kestra.sdk.model.Flow
io.kestra.sdk.model.Task
ERRORWARNINFODEBUGTRACEUNKNOWN_DEFAULT_OPEN_APIio.kestra.sdk.model.Cache
io.kestra.sdk.model.WorkerSelector
FAILWAITCANCELIGNOREALLANYio.kestra.sdk.model.Check
BLOCK_EXECUTIONFAIL_EXECUTIONCREATE_EXECUTIONUNKNOWN_DEFAULT_OPEN_APIERRORSUCCESSWARNINGINFOUNKNOWN_DEFAULT_OPEN_APIio.kestra.sdk.model.Concurrency
QUEUECANCELFAILUNKNOWN_DEFAULT_OPEN_APIio.kestra.sdk.model.Task
ERRORWARNINFODEBUGTRACEUNKNOWN_DEFAULT_OPEN_APIio.kestra.sdk.model.Cache
io.kestra.sdk.model.WorkerSelector
FAILWAITCANCELIGNOREALLANYio.kestra.sdk.model.InputObject
io.kestra.sdk.model.DependsOn
STRINGSELECTINTFLOATBOOLDATETIMEDATETIMEDURATIONFILEJSONIONURISECRETARRAYMULTISELECTYAMLEMAILFORMREUSABLE_INPUTSUNKNOWN_DEFAULT_OPEN_APIio.kestra.sdk.model.Label
io.kestra.sdk.model.Output
STRINGSELECTINTFLOATBOOLDATETIMEDATETIMEDURATIONFILEJSONIONURISECRETARRAYMULTISELECTYAMLEMAILFORMREUSABLE_INPUTSUNKNOWN_DEFAULT_OPEN_APIio.kestra.sdk.model.OutputValue
io.kestra.sdk.model.SLA
FAILCANCELNONEUNKNOWN_DEFAULT_OPEN_APIio.kestra.sdk.model.Label
MAX_DURATIONEXECUTION_ASSERTIONUNKNOWN_DEFAULT_OPEN_APIio.kestra.sdk.model.Task
ERRORWARNINFODEBUGTRACEUNKNOWN_DEFAULT_OPEN_APIio.kestra.sdk.model.Cache
io.kestra.sdk.model.WorkerSelector
FAILWAITCANCELIGNOREALLANYio.kestra.sdk.model.AbstractTrigger
io.kestra.sdk.model.AssetsDeclaration
io.kestra.sdk.model.Label
ERRORWARNINFODEBUGTRACEUNKNOWN_DEFAULT_OPEN_APICREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTEDUNKNOWN_DEFAULT_OPEN_APIio.kestra.sdk.model.WorkerSelector
FAILWAITCANCELIGNOREALLANYdate-timeio.kestra.sdk.model.WorkerSelector
FAILWAITCANCELIGNOREALLANY