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

# Get a workflow

`GET /v1/workflows/{workflow_id}`

Scope: `workflows:read`. Free.

## Response `200`

The workflow.

- WorkflowResponse
  - `id` string, required
  - `object` 'workflow', required
  - `name` string, required
  - `slug` string, required
  - `version` integer, required
  - `dsl_version` string
  - `definition` WorkflowDefinition — Workflow DSL version 2026-06-01. The schema encodes each strict step shape and recursive body. The server additionally enforces globally unique step ids, a configurable aggregate step count, definition byte size, and recursive workflow/output depth.
    - `steps` WorkflowStep[], required — unresolved $ref
    - `output` object, nullable
  - `inputs_schema` WorkflowInputsSchema — Typed input declarations. The server also enforces the configured serialized byte ceiling.
  - `description` string, nullable
  - `status` 'active' | 'archived'
  - `metadata` object, nullable
  - `created_at` string, nullable
  - `updated_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/revisions/f50d93b0d8a1/schema)
