id, name, and a url that opens it in Clay. Use clay workflows get to fetch a single workflow.
--limit sets the page size, and the response includes a top-level cursor when more workflows are available; pass it back with --cursor to fetch the next page.
Flags
| Flag | Description |
|---|---|
--limit <n> | Maximum workflows to return per page. A positive integer, 1–200. Defaults to 50. |
--cursor <token> | Resume from a previous response’s cursor to fetch the next page. |
Output
| Field | Type | Description |
|---|---|---|
data[].id | string | Workflow id, e.g. wf_abc123. |
data[].name | string | Display name. |
data[].url | string | Link that opens the workflow in Clay. |
cursor | string | Present when more workflows are available. Pass it back via --cursor. Omitted on the last page. |
Errors
| Code | Exit | Notes |
|---|---|---|
validation_error | 2 | --limit is not a positive integer or exceeds 200. |
auth_forbidden | 3 | The API key lacks the terracotta:cli scope. |

