
ExportById
Export Kestra flows.
Export Kestra flows.
Export Kestra flows.
Exports one or more Kestra flows as a ZIP archive. You can specify flows by their ID and namespace.
type: "io.kestra.plugin.kestra.flows.ExportById"Examples
Export a single flow
id: export_single_flow
namespace: company.team
tasks:
- id: export_flow_by_id
type: io.kestra.plugin.kestra.flows.ExportById
kestraUrl: http://localhost:8080
auth:
username: [email protected] # pass your Kestra username as secret or KV pair
password: Admin1234 # pass your Kestra password as secret or KV pair
flows:
- id: my_flow_id
namespace: my.flow.namespace
Export multiple flows from different namespaces
id: export_multiple_flows
namespace: company.team
tasks:
- id: export_flows
type: io.kestra.plugin.kestra.flows.ExportById
kestraUrl: https://my-ee-instance.io
auth:
username: [email protected] # pass your Kestra username as secret or KV pair
password: Admin1234 # pass your Kestra password as secret or KV pair
tenantId: main
flows:
- id: flow_one
namespace: prod.data
- id: flow_two
namespace: dev.analytics
- id: flow_three
namespace: common.utils
Properties
authNon-dynamic
Authentication information.
Authentication used to call the Kestra API. Uses the same credentials as Kestra login: either an API token or HTTP Basic (username/password).
io.kestra.plugin.kestra.AbstractKestraTask-Auth
API token
Password for HTTP basic authentication
Username for HTTP basic authentication
flowsarray
The flows to export
io.kestra.sdk.model.IdWithNamespace
kestraUrlstring
Kestra API URL. If null, uses 'kestra.url' from configuration. If that is also null, defaults to 'http://localhost: 8080'.
tenantIdstring
The tenant ID to use for the request, defaults to current tenant.
Outputs
flowsZipstring
uriURI of the exported flows ZIP file