---
title: "Get Workflow Execution"
method: GET
path: "/workflow/workflow-executions/{execution_id}"
tags: ["workflow-executions"]
---

# Get Workflow Execution

`GET /workflow/workflow-executions/{execution_id}`

## Request

- Base URL: `https://api.anyreach.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.anyreach.ai/workflow/workflow-executions/{execution_id}`
- Auth: HTTP bearer

Get a specific workflow execution by ID

## Path parameters

- `execution_id` string, uuid, required

## Headers

- `x-anyreach-org` string, nullable: Organization ID for user PATs (pat_ prefix tokens)

## Response `200`

Successful Response

- WorkflowExecutionSchema
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `completed_at` string, date-time, nullable
  - `organization_id` string, nullable, required
  - `workflow_id` string, uuid, nullable, required
  - `workflow_version_id` string, uuid, nullable, required
  - `status` 'success' | 'failed' | 'in_progress' | 'pending' | 'waiting', required
  - `state` WorkflowExecutionState
    - `initial_step` string, nullable
    - `input_data` object
    - `next_step_id` string, nullable
    - `output` object
    - `context` object
    - `loop_stack` LoopFrame[]
      - `loop_step_id` string, required
      - `index` integer
      - `items` unknown[]
        - unknown
      - `total` integer, nullable
      - `last_output` unknown
      - `last_error` string, nullable
      - `started_at` string, nullable
      - `elapsed_ms` number
    - `step_timings` object
    - `run_timing` RunTiming: The run as a whole, from the request (or trigger) to its last save. Timestamps rather than one duration: an async run's end-to-end mixes setup, time queued in Temporal, time running, and pauses that can last hours, and only the timestamps keep those apart. All UTC, from the app's clock.
      - `received_at` string, nullable
      - `queued_at` string, nullable
      - `scheduled_for` string, nullable
      - `started_at` string, nullable
      - `finished_at` string, nullable
      - `saving_at` string, nullable
      - `legs` integer
      - `active_ms` number
      - `engine_ms` number
      - `paused_ms` number
      - `total_ms` number, nullable
  - `definition` object
  - `trigger_id` string, uuid, nullable
  - `source` 'manual' | 'trigger' | 'credential_refresh'
  - `credential_id` string, uuid, nullable
  - `credentials_allowed` boolean

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/anyreach/apis/anyreach-api.md) - [All operations](https://skmtc.dev/anyreach/apis/anyreach-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anyreach/apis/anyreach-api/revisions/2eddf40c8c93?raw)
