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

# Get Workflow

> Fetch a workflow's definition along with its most recent runs.

Returns the workflow object plus up to 20 recent runs.

## Authentication

Requires a Bearer token with `tools` scope. See [Authentication](/api-reference/authentication).

## Path Parameters

<ParamField path="id" type="string" required>
  The workflow UUID.
</ParamField>

## Response

<ResponseField name="workflow" type="object">
  The workflow definition: `id`, `name`, `triggerType`, `triggerConfig`, `steps`, `enabled`, timestamps.
</ResponseField>

<ResponseField name="runs" type="array">
  Up to 20 recent runs, each with `id`, `status`, `startedAt`, and step results.
</ResponseField>

## Example

```bash curl theme={null}
curl https://www.hitheo.ai/api/v1/workflows/wf_abc123 \
  -H "Authorization: Bearer $THEO_API_KEY"
```
