Kestra Plugin Resume

Kestra Plugin Resume

Certified

Resume a paused execution

Resumes a PAUSED execution via the Kestra API. Defaults to the current execution id when executionId is empty; optional inputs are forwarded to the resumed run.

yaml
type: io.kestra.plugin.kestra.executions.Resume

Resume an execution

yaml
id: resume_execution
namespace: company.team

tasks:
  - id: resume_execution
    type: io.kestra.plugin.kestra.executions.Resume
    executionId: "{{ trigger.executionId }}"
    kestraUrl: http://localhost:8080
    auth:
      username: "{{ secret('KESTRA_USERNAME') }}"
      password: "{{ secret('KESTRA_PASSWORD') }}"

Resume an execution with inputs

yaml
id: resume_execution_with_inputs
namespace: company.team

tasks:
  - id: resume_execution
    type: io.kestra.plugin.kestra.executions.Resume
    executionId: "{{ trigger.executionId }}"
    kestraUrl: http://localhost:8080
    inputs:
      comment: "Approved by automated process"
      status: "OK"
    auth:
      username: "{{ secret('KESTRA_USERNAME') }}"
      password: "{{ secret('KESTRA_PASSWORD') }}"
Properties

Select API authentication

Use either an API token or HTTP Basic (username/password); do not provide both.

Definitions
apiTokenstring

API token for bearer auth

autobooleanstring
Defaulttrue

Automatically retrieve credentials from Kestra's configuration if available

The default configuration can be configured globally inside the Kestra configuration file:

  • Set kestra.tasks.sdk.authentication.api-token to use an API token
  • Set kestra.tasks.sdk.authentication.username and kestra.tasks.sdk.authentication.password for HTTP basic authentication
  • Set kestra.tasks.sdk.authentication.url to also default the Kestra API endpoint (see kestraUrl above) The Enterprise edition also provides setting a default configuration at the Namespace or Tenant level by an administrator. Set to false to also opt out of the default URL.
passwordstring

Password for HTTP Basic auth

usernamestring

Username for HTTP Basic auth

Execution ID to resume

Defaults to the current execution when not provided.

Inputs to send with resume

Override Kestra API endpoint

URL used for calls to the Kestra API. When null, falls back to the url configured alongside the default SDK authentication (Namespace or Tenant level, Enterprise edition), then renders {{ kestra.url }} from configuration; if still empty, defaults to http://localhost: 8080. Trailing slashes are stripped before use.

Reference (ref) of the pluginDefaults to apply to this task.

Override target tenant

Tenant identifier applied to API calls; defaults to the current execution tenant.