List Kestra flows
Lists all flows within a specified namespace or the current flow's namespace if none is provided.
type: "io.kestra.plugin.kestra.flows.List"
Examples
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: Admin1234 # 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: 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 on, if null, will default 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
empty boolean
io.kestra.sdk.model.FlowAllOfLabels
empty boolean
io.kestra.sdk.model.WorkerGroup
fallback string
FAIL
WAIT
CANCEL
key string
io.kestra.sdk.model.DependsOn
io.kestra.sdk.model.Flow
concurrency Concurrency
deleted boolean
description string
disabled boolean
id string
labels FlowAllOfLabels
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
STRING
ENUM
SELECT
INT
FLOAT
BOOLEAN
BOOL
DATETIME
DATE
TIME
DURATION
FILE
JSON
URI
SECRET
ARRAY
MULTISELECT
YAML
EMAIL
value object
io.kestra.sdk.model.Cache
enabled boolean
ttl string
io.kestra.sdk.model.Concurrency
behavior string
QUEUE
CANCEL
FAIL
limit integer
io.kestra.sdk.model.SLA
behavior string
FAIL
CANCEL
NONE
id string
labels FlowWithSourceAllOfLabels
type string
MAX_DURATION
EXECUTION_ASSERTION
io.kestra.sdk.model.Task
allowFailure boolean
allowWarning boolean
description string
disabled boolean
id string
logLevel string
ERROR
WARN
INFO
DEBUG
TRACE
logToFile 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
STRING
ENUM
SELECT
INT
FLOAT
BOOLEAN
BOOL
DATETIME
DATE
TIME
DURATION
FILE
JSON
URI
SECRET
ARRAY
MULTISELECT
YAML
EMAIL
io.kestra.sdk.model.AbstractTrigger
description string
disabled boolean
failOnTriggerError boolean
id string
logLevel string
ERROR
WARN
INFO
DEBUG
TRACE
logToFile boolean
stopAfter array
CREATED
RUNNING
PAUSED
RESTARTED
KILLING
SUCCESS
WARNING
FAILED
KILLED
CANCELLED
QUEUED
RETRYING
RETRIED
SKIPPED
BREAKPOINT