List an automation's runs
curl --request GET \ --url 'https://example.com/api/v1/projects/example/automations/example/runs?page=1&perPage=20' \ --header 'Authorization: Bearer <token>'Requires the projects.view permission and reach to the project. Newest first.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Project automation identifier (CUID2).
Project automation identifier (CUID2).
Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”A page of runs.
object
One evaluation of an automation against a task.
object
What each AI step of the run decided and why, one line each; empty when the run had no AI step. Absent on a server older than the AI steps.
object
Yes or no for a condition; done for an action that wrote its result; skipped when no model was chosen, the monthly limit was reached or there was nothing to do; failed when the answer could not be used.
What a successful run left undone and why, such as assigning a manager the project does not have.
SKIPPED when a condition did not hold; FAILED when an action threw.
The TaskActivity that fired the automation; null for scheduled date triggers.
Pagination metadata for list responses.
object
Example
{ "data": [ { "aiDecision": [ { "outcome": "yes", "step": "ai_missing_information" } ], "status": "SUCCESS" } ]}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC