---
title: "Get a playbook execution by its ID"
method: GET
path: "/workspace/{ws_id}/executions/{id}"
tags: ["Executions"]
---

# Get a playbook execution by its ID

`GET /workspace/{ws_id}/executions/{id}`

Retrieve a single playbook execution by its `id`.

## Path parameters

- `ws_id` string, required
- `id` string, required

## Query parameters

- `withApplyView` boolean

## Response `200`

Execution with subflow name mapping

- ModelsPlaybookExecutionWithSubflowNames — Playbook execution details including subflow reference to playbook name mapping.
  - `app_id` string
  - `async_parent_execution_id` string
  - `cancel_reason` string
  - `created_at` integer
  - `created_by` string
  - `ctrl_id` string
  - `display_name` string — The execution's display name
  - `draft_execution_number` integer
  - `duration` integer — The runtime duration in milliseconds
  - `engine_v2_compile_error` string
  - `engine_version` string — The preferred workflow engine version
  - `error_details` object
  - `event` object — The execution's trigger event payload
  - `execution_depth` integer
  - `execution_number` integer — UNIQUE INDEX idx_playbook_executions_pbid_en
  - `finished_at` integer
  - `id` string
  - `input_values_origin_exec_id` string
  - `inputs` ActionInputsInputParams
  - `last_playbook_name` string — LastPlaybookName Holds last playbook name after playbook deletion to be used in display names for past executions
  - `name` string
  - `net_runtime_ms` integer
  - `pack_id` string — The parent automation pack id
  - `parent_execution_id` string
  - `playbook` string
  - `playbook_deleted` boolean — Whether the playbook was deleted
  - `playbook_id` string — UNIQUE INDEX idx_playbook_executions_pbid_en
  - `playbook_name` string — The playbook name
  - `runner_cluster_version` string
  - `runner_group_id` string
  - `runner_id` string — use text column type to allow empty strings
  - `runner_version` string
  - `scheduled_trigger_timezone` string — Timezone for scheduled trigger
  - `started_at` integer
  - `state` string
  - `state_ui` string
  - `step_results` ModelsStepResults
  - `subflows_reference_to_name_mapping` object — Subflow references to playbook names mapping
  - `tenant_id` string
  - `test_session_id` string
  - `timeout` integer — timeout in milliseconds
  - `top_execution_id` string
  - `top_execution_started_at` integer
  - `trigger_type` string — The type of the trigger of the workflow
  - `type` string
  - `updated_at` integer
  - `updated_by` string
  - `version` string
  - `with_concurrency_limit` boolean
  - `workspace_id` string

## Other responses

- `400` — Missing or invalid execution ID
- `404` — Execution not found
- `500` — Internal server error

---

[API](https://skmtc.net/blinkops/apis/blink-rest-api.md) · [All operations](https://skmtc.net/blinkops/apis/blink-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blinkops/blink-rest-api/revisions/f043409736b2/schema)
