clay workflows runs get to inspect a single run.
Arguments
| Argument | Description |
|---|---|
workflowId | Workflow id, e.g. wf_abc123. Required. |
Flags
| Flag | Description |
|---|---|
--status <status> | Filter by run status. Repeatable to match any of several statuses. |
--created-after <datetime> | Only runs created at or after this datetime. |
--snapshot-id <id> | Only runs of this workflow snapshot version. |
--search <text> | Case-insensitive text search over run inputs, outputs, and error. |
--limit <n> | Page size, 1–100. Defaults to the server page size (50) when omitted. |
--cursor <token> | Resume from a previous response’s cursor to fetch the next page. |
Output
| Field | Type | Description |
|---|---|---|
data[].runId | string | Run id. Pass to clay workflows runs get. |
data[].workflowId | string | Workflow the run belongs to. |
data[].workflowName | string | null | Workflow display name, or null. |
data[].status | string | Run status. See the status values below. |
data[].createdAt | string | When the run was created. |
data[].updatedAt | string | When the run was last updated. |
data[].workflowSnapshotId | string | Snapshot version the run executed. |
data[].batchId | string | Present when the run is part of a batch. |
data[].triggerId | string | Present when the run was started by a trigger. |
cursor | string | Present when more runs are available. Pass it back via --cursor. |
status is one of: pending (queued but not yet started), running (actively executing nodes), waiting (blocked on an async operation or concurrency slot), paused (paused by an operator — resume to continue), completed (finished successfully), or failed (terminated with an error).
Errors
| Code | Exit | Notes |
|---|---|---|
validation_error | 2 | --status is not a known status, --created-after is not a valid datetime, or --limit is out of range. |
not_found | 6 | No workflow with that id. |
auth_forbidden | 3 | The API key lacks the terracotta:cli scope. |

