---
title: "Get a workflow run"
method: GET
path: "/v1/workflows/runs/{run_id}"
tags: ["workflows"]
---

# Get a workflow run

`GET /v1/workflows/runs/{run_id}`

Scope: `workflows:read`. Free.

## Response `200`

The workflow run.

- WorkflowRunResponse
  - `id` string, required
  - `object` 'workflow.run', required
  - `status` 'queued' | 'running' | 'awaiting_human' | 'succeeded' | 'failed' | 'cancelled' | 'timed_out', required
  - `workflow_id` string, nullable
  - `workflow_version` integer, nullable
  - `machine_id` string, nullable
  - `inputs` object
  - `output` object, nullable
  - `error` object, nullable
  - `awaiting_human_reason` string, nullable
  - `awaiting_step_id` string, nullable
  - `iterations_used` integer
  - `spent_cents` integer
  - `budget_cents` integer, nullable
  - `llm` RunLlmInfo — Credential-free BYOK attribution returned by agent runs and workflow runs. Only these allowlisted fields are public.
    - `provider` 'anthropic' | 'openai', required
    - `model` string, required
    - `key_fingerprint` string, required
    - `key_source` 'header' | 'stored', required
    - `key_scrubbed` boolean, required
  - `webhook_url` string, nullable — Workflow lifecycle callback destination. Workflow callbacks are best-effort in-process notifications (up to 3 attempts), have no durable delivery UUID/outbox, and can be missed if the worker fails. Reconcile with GET /v1/workflows/runs/{run_id}.
  - `webhook_secret` string, nullable — Returned by create and its exact bounded Idempotency-Key replay; null on get/list. The pinned per-run secret is encrypted at rest through delivery/replay recovery and later scrubbed.
  - `metadata` object, nullable
  - `created_at` string, nullable
  - `started_at` string, nullable
  - `finished_at` string, nullable
  - `request_id` string, nullable

## Other responses

- `400` — Invalid request body or parameters.
- `401` — Missing, invalid, or revoked API key. Pass `X-API-Key: sk-coasty-live-...` (or test).
- `403` — API key lacks the required scope or tier-feature is unavailable on the caller's plan.
- `404` — Resource not found in this key's namespace.
- `409` — The resource state conflicts with this operation.
- `413` — The request body exceeds the endpoint limit.
- `422` — The JSON shape is valid but one or more values violate the endpoint contract.
- `429` — Rate or concurrency limit exceeded.
- `500` — Unexpected server error. Retry with exponential backoff.
- `502` — An upstream dependency returned an invalid response.
- `503` — A required service is temporarily unavailable.
- `504` — An upstream dependency timed out.

---

[API](https://skmtc.net/coasty/apis/coasty-public-api.md) · [All operations](https://skmtc.net/coasty/apis/coasty-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coasty/coasty-public-api/versions/f50d93b0d8a1/schema)
