GET /api/workflows/workflow/{workflowId}/executions

Spaces method and path for this operation:

get /s/{space_id}/api/workflows/workflow/{workflowId}/executions

Refer to Spaces for more information.

Retrieve a paginated list of executions for a specific workflow.

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

Path parameters

  • workflowId string Required

    Workflow ID

Query parameters

  • statuses array[string]

    Filter by execution status.

    Not more than 9 elements. Values are pending, waiting, waiting_for_input, running, completed, failed, cancelled, timed_out, or skipped.

  • executionTypes array[string]

    Filter by execution type.

    Not more than 2 elements. Values are test or production.

  • executedBy array[string]

    Filter by the user who triggered the execution.

    Not more than 100 elements.

  • omitStepRuns boolean

    Whether to exclude step-level execution data.

  • page number

    Page number.

    Minimum value is 1.

  • size number

    Number of results per page.

    Minimum value is 1, maximum value is 100.

Responses

  • 200 application/json

    Indicates a successful response

GET /api/workflows/workflow/{workflowId}/executions
curl \
  -X GET "${KIBANA_URL}/api/workflows/workflow/{workflowId}/executions?page=1&size=20" \
  -H "Authorization: ApiKey ${API_KEY}"
GET kbn://api/workflows/workflow/{workflowId}/executions?page=1&size=20
Response examples (200)
Example response returning a paginated list of executions for a workflow
{
  "page": 1,
  "size": 20,
  "total": 2,
  "results": [
    {
      "id": "exec-001",
      "error": null,
      "status": "completed",
      "spaceId": "default",
      "duration": 3000,
      "isTestRun": false,
      "startedAt": "2025-11-20T12:00:00.000Z",
      "executedBy": "elastic",
      "finishedAt": "2025-11-20T12:00:03.000Z",
      "workflowId": "workflow-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "triggeredBy": "manual"
    },
    {
      "id": "exec-002",
      "error": {
        "message": "Step 'hello_world_step' failed"
      },
      "status": "failed",
      "spaceId": "default",
      "duration": 2000,
      "isTestRun": false,
      "startedAt": "2025-11-20T13:00:00.000Z",
      "executedBy": "elastic",
      "finishedAt": "2025-11-20T13:00:02.000Z",
      "workflowId": "workflow-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "triggeredBy": "manual"
    }
  ]
}