attacca

Read a workflow's state

Returns both halves: the shared `input` state and **the caller's own** private `ui` state. `ui` is per user by construction, so this read never returns another account's — a key with write access to the workflow still only ever sees its own. `version` guards `input`; carry it into `PATCH /v1/workflows/{id}/input`.

GET
/v1/workflows/{workflow_id}/state

Returns both halves: the shared input state and the caller's own private ui state. ui is per user by construction, so this read never returns another account's — a key with write access to the workflow still only ever sees its own.

version guards input; carry it into PATCH /v1/workflows/{id}/input.

Authorization

api_key workflows:read
AuthorizationBearer <token>

An atk_-prefixed API key, created under Settings → API keys.

In: header

Scope: workflows:read

Path Parameters

workflow_id*string

Workflow id

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08/state"
{  "input": {},  "ui": {},  "ui_version": 0,  "version": 0}