---
title: "Read execution state"
method: GET
path: "/workflows/executions/{id}/state"
tags: ["Workflow executions"]
---

# Read execution state

`GET /workflows/executions/{id}/state`

## Request

- Base URL: `https://api.nullplatform.com`
- URL: `https://api.nullplatform.com/workflows/executions/{id}/state`
- Auth: HTTP bearer

Returns a live state snapshot: per-step outputs, current steps, pending signal waits, variables, and run metadata. Queried live while the execution runs; rebuilt from storage afterwards.

## Path parameters

- `id` string, required

## Response `200`

The state snapshot.

- object
  - `executionId` string
  - `workflowId` string
  - `revision` integer
  - `status` 'pending' | 'running' | 'completed' | 'failed' | 'cancelled' | 'timed_out'
  - `inputs` object
  - `variables` object
  - `outputs` object: Present once the execution completed.
  - `steps` object: Map of step id to its latest outputs and status.
  - `currentSteps` string[]
  - `pendingWaits` PendingWait[]
    - `executionId` string
    - `waitId` string
    - `stepId` string
    - `workflowId` string
    - `revision` integer
    - `correlationKey` string
    - `signalNames` string[]
    - `timeoutDeadline` string, date-time
    - `onTimeout` 'continue' | 'error' | 'resolve-with-default'
    - `createdAt` string, date-time
    - `metadata` object
  - `startedAt` string, date-time
  - `updatedAt` string, date-time
  - `completedAt` string, date-time

## Other responses

- `4XX`: Client error. The body says what went wrong: an error `type`, a human-readable `detail`, and, on validation failures, one entry per offending field.
- `5XX`: Unexpected server error.

## Changes

- **2026-09-17** `43b3c1ecdfd8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nullplatform/apis/nullplatform-api/changes/workflows/executions/:id/state/get.md)

---

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