---
title: "Get Workflow Executions"
method: GET
path: "/workflow/workflow-executions"
tags: ["workflow-executions"]
---

# Get Workflow Executions

`GET /workflow/workflow-executions`

## 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`
- Auth: HTTP bearer

Get all workflow executions with pagination and filters

## Query parameters

- `workflow_id` string, uuid, nullable: Filter executions by workflow ID
- `version_id` string, uuid, nullable: Filter executions by version ID
- `created_after` string, date-time, nullable: Filter executions created after this datetime
- `created_before` string, date-time, nullable: Filter executions created before this datetime
- `status` 'success' | 'failed' | 'in_progress' | 'pending' | 'waiting', nullable: Filter executions by status
- `id` string, nullable: Filter executions by ID
- `limit` integer, nullable: Limit the number of executions returned
- `cursor` string, nullable: Cursor for pagination

## Headers

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

## Response `200`

Successful Response

- PaginatedWorkflowExecutionResponse
  - `data` WorkflowExecutionSchema[], required
    - `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
  - `pagination` RoutesWorkflowModelsCommonPaginationMeta, required
    - `limit` integer, required
    - `next_cursor` string, nullable
    - `total` integer, nullable
    - `offset` integer, nullable

## 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)
