List Kestra flows.
Lists all flows within a specified namespace or the current flow's namespace if none is provided.
yaml
type: "io.kestra.plugin.kestra.flows.List"Examples
List flows in the current namespace
yaml
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: Admin1234 # pass your Kestra password as secret or KV pair
List flows in a specific namespace
yaml
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: Admin1234 # pass your Kestra password as secret or KV pair
namespace: dev.flows
tenantId: myorganization
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'.
namespace string
The namespace to list flows from, if null, defaults to the namespace of the current flow.
tenantId string
The tenant ID to use for the request, defaults to current tenant.
Definitions
io.kestra.sdk.model.TheLabelsToPassToTheExecutionCreated
io.kestra.sdk.model.Label
key string
value string
io.kestra.sdk.model.WorkerGroup
fallback string
Possible Values
FAILWAITCANCELUNKNOWN_DEFAULT_OPEN_APIkey string
io.kestra.sdk.model.DependsOn
io.kestra.sdk.model.Flow
concurrency Concurrency
deleted boolean
description string
disabled boolean
id string
namespace string
retry object
revision integer
variables object
workerGroup WorkerGroup
io.kestra.sdk.model.Output
description string
displayName string
id string
required boolean
type string
Possible Values
STRINGENUMSELECTINTFLOATBOOLEANBOOLDATETIMEDATETIMEDURATIONFILEJSONURISECRETARRAYMULTISELECTYAMLEMAILUNKNOWN_DEFAULT_OPEN_APIvalue OutputValue
io.kestra.sdk.model.SLALabels
io.kestra.sdk.model.Cache
enabled boolean
ttl string
io.kestra.sdk.model.Concurrency
behavior string
Possible Values
QUEUECANCELFAILUNKNOWN_DEFAULT_OPEN_APIlimit integer
io.kestra.sdk.model.OutputValue
io.kestra.sdk.model.SLA
behavior string
Possible Values
FAILCANCELNONEUNKNOWN_DEFAULT_OPEN_APIid string
labels SLALabels
type string
Possible Values
MAX_DURATIONEXECUTION_ASSERTIONUNKNOWN_DEFAULT_OPEN_APIio.kestra.sdk.model.Task
allowFailure boolean
allowWarning boolean
description string
disabled boolean
id string
logLevel string
Possible Values
ERRORWARNINFODEBUGTRACEUNKNOWN_DEFAULT_OPEN_APIlogToFile boolean
retry object
runIf string
taskCache Cache
timeout string
type string
version string
workerGroup WorkerGroup
io.kestra.plugin.kestra.AbstractKestraTask-Auth
apiToken string
API token
password string
Password for HTTP basic authentication
username string
Username for HTTP basic authentication
io.kestra.sdk.model.InputObject
defaults string
dependsOn DependsOn
description string
displayName string
id string
required boolean
type string
Possible Values
STRINGENUMSELECTINTFLOATBOOLEANBOOLDATETIMEDATETIMEDURATIONFILEJSONURISECRETARRAYMULTISELECTYAMLEMAILUNKNOWN_DEFAULT_OPEN_APIio.kestra.sdk.model.AbstractTrigger
description string
disabled boolean
failOnTriggerError boolean
id string
logLevel string
Possible Values
ERRORWARNINFODEBUGTRACEUNKNOWN_DEFAULT_OPEN_APIlogToFile boolean
stopAfter array
SubType string
Possible Values
CREATEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTUNKNOWN_DEFAULT_OPEN_API