Export Kestra flows
Exports one or more Kestra flows as a ZIP archive. You can specify from a namespace prefix and/or labels to filter the flows to export.
yaml
type: "io.kestra.plugin.kestra.flows.Export"
Examples
Export a single flow
yaml
id: export_single_flow
namespace: company.team
tasks:
- id: export_flow
type: io.kestra.plugin.kestra.flows.Export
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
namespace: company.team
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'.
labels array
SubType string
A list of label with the format key: value
namespace string
A namespace prefix filter.
tenantId string
The tenant ID to use for the request, defaults to current tenant.
Outputs
flowsZip string
Format
uri
URI of the exported flows ZIP file
Definitions
io.kestra.plugin.kestra.AbstractKestraTask-Auth
apiToken string
API token.
password string
Password for HTTP Basic authentication.
username string
Username for HTTP Basic authentication.