POST /api/workflows/executions/{executionId}/resume

Spaces method and path for this operation:

post /s/{space_id}/api/workflows/executions/{executionId}/resume

Refer to Spaces for more information.

Resume a paused workflow execution with the provided input.

[Required authorization] Route required privileges: workflowsManagement:execute.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

  • executionId string Required

    Workflow execution ID

application/json

Body

  • input object Required

    Input data to resume the execution with.

    Additional properties are allowed.

Responses

  • 200 application/json

    Indicates a successful response

POST /api/workflows/executions/{executionId}/resume
curl \
  -X POST "${KIBANA_URL}/api/workflows/executions/{executionId}/resume" \
  -H "Authorization: ApiKey ${API_KEY}" \
  -H "kbn-xsrf: true" \
  -H "Content-Type: application/json" \
  -d '{
    "input": {
      "approved": true,
      "comment": "Approved by analyst"
    }
  }'
POST kbn://api/workflows/executions/{executionId}/resume
{
  "input": {
    "approved": true,
    "comment": "Approved by analyst"
  }
}
Request example
Example request to resume a paused workflow execution
{
  "input": {
    "comment": "Approved by analyst",
    "approved": true
  }
}
Response examples (200)
Example response confirming the resume was scheduled
{
  "message": "Workflow resume scheduled",
  "success": true,
  "executionId": "exec-a1b2c3d4-e5f6-7890"
}