> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lavendly.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get workflow

> Fetch a workflow's full nodes + edges.

<ParamField path="id" type="string" required>
  Workflow id.
</ParamField>

### Response

The full workflow record: `id`, `name`, `description`, `nodes`, `edges`,
`duration`, `thumbnail_url`, `created_at`, `updated_at`, `version`.

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "wf_xyz",
    "name": "Bookshop fox",
    "nodes": [
      { "id": "vid1", "type": "videoGenerator",
        "data": { "prompt": "...", "videoModel": "cinematic", "duration": 5 } }
    ],
    "edges": [],
    "version": 4,
    "updated_at": 1734001234567
  }
  ```
</ResponseExample>

Returns `404 workflow_not_found` if the id doesn't exist or isn't owned by
the authenticated user.
