---
title: "Get execution state by ID"
method: GET
path: "/public/v1/workflows/execution-states/{state_id}/"
tags: ["Approval Policies"]
---

# Get execution state by ID

`GET /public/v1/workflows/execution-states/{state_id}/`

Retrieve a single workflow execution state by its ID.

## Path parameters

- `state_id` integer, required

## Response `200`

OK

- PublicWorkflowExecutionStateSchemaOut — Schema for workflow execution state output.
  - `id` integer, required
  - `workflow_id` integer, required
  - `workflow_name` string, required
  - `record_id` integer, required
  - `record_type` string, required
  - `current_step` integer, required
  - `current_substep` integer, required
  - `status` string, required
  - `requested_approver_ids` integer[], required
  - `approved_by_ids` integer[], required
  - `rejected_by_id` integer, nullable, required
  - `rejection_reason` string, nullable, required
  - `initiator_id` integer, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/dualentry/apis/dualentry-public-api-2.md) · [All operations](https://skmtc.net/dualentry/apis/dualentry-public-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dualentry/dualentry-public-api-2/revisions/77cd3c6ec719/schema)
