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"

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

Authentication information.

Kestra API URL. If null, uses 'kestra.url' from configuration. If that is also null, defaults to 'http://localhost: 8080'.

SubType string

A list of label with the format key: value

A namespace prefix filter.

The tenant ID to use for the request, defaults to current tenant.

Format uri

URI of the exported flows ZIP file

API token.

Password for HTTP Basic authentication.

Username for HTTP Basic authentication.