clay routines runs start. The command first tries the inline results endpoint; if the run id is not an inline run, it falls back to the bulk results endpoint.
Arguments
| Argument | Description |
|---|---|
routineRunId | Routine run id, e.g. run_abc123. Required. |
Flags
| Flag | Description |
|---|---|
--limit <n> | Cap the number of inline results returned. Must be a positive integer. Ignored for bulk runs (which return a URL). |
Output
Themode field discriminates inline vs. bulk; the status field discriminates progress vs. terminal states.
Inline, in progress
Inline, complete
Bulk, in progress
Bulk, complete
resultUrl to read the JSONL results. The URL is short-lived.
Bulk, validation failed
Errors
| Code | Exit | Notes |
|---|---|---|
not_found | 6 | No inline or bulk run with that id. |

