Get the latest project Full Auto run
GET
/v1/projects/{projectId}/automation-runs/latestHow to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| projectId | path | string | Yes | Project ID |
Query parameters
None.
Body schema
This endpoint does not require a request body.
None.
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Latest project Full Auto runapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| automationRun | object | Yes | — |
| automationRun.id | string | Yes | Unique identifier. |
| automationRun.userId | string | Yes | User ID. |
| automationRun.organizationId | string | Yes | — |
| automationRun.createdByUserId | string | Yes | — |
| automationRun.projectId | string | Yes | Project ID. |
| automationRun.status | queued | running | paused | completed | failed | cancelled | Yes | Current lifecycle status. |
| automationRun.stopOnFailure | boolean | Yes | — |
| automationRun.maxTasks | integer | Yes | — |
| automationRun.currentStepId | string | Yes | — |
| automationRun.dispatchId | string | Yes | — |
| automationRun.startedCount | integer | Yes | — |
| automationRun.completedCount | integer | Yes | — |
| automationRun.failedCount | integer | Yes | — |
| automationRun.lastErrorCode | string | Yes | — |
| automationRun.lastErrorMessage | string | Yes | — |
| automationRun.idempotencyKey | string | Yes | — |
| automationRun.metadata | object | Yes | Free-form metadata object. |
| automationRun.startedAt | string | Yes | ISO 8601 timestamp. |
| automationRun.completedAt | string | Yes | ISO 8601 timestamp. |
| automationRun.createdAt | string | Yes | ISO 8601 timestamp. |
| automationRun.updatedAt | string | Yes | ISO 8601 timestamp. |
| automationRun.steps | object[] | Yes | — |
| automationRun.steps[].id | string | Yes | Unique identifier. |
| automationRun.steps[].runId | string | Yes | — |
| automationRun.steps[].projectId | string | Yes | Project ID. |
| automationRun.steps[].taskId | string | Yes | — |
| automationRun.steps[].sequence | integer | Yes | — |
| automationRun.steps[].status | pending | running | completed | failed | cancelled | Yes | Current lifecycle status. |
| automationRun.steps[].attemptCount | integer | Yes | — |
| automationRun.steps[].taskAgentSessionId | string | Yes | — |
| automationRun.steps[].threadId | string | Yes | Thread ID. |
| automationRun.steps[].errorCode | string | Yes | — |
| automationRun.steps[].errorMessage | string | Yes | — |
| automationRun.steps[].evidence | object | Yes | — |
| automationRun.steps[].startedAt | string | Yes | ISO 8601 timestamp. |
| automationRun.steps[].completedAt | string | Yes | ISO 8601 timestamp. |
| automationRun.steps[].createdAt | string | Yes | ISO 8601 timestamp. |
| automationRun.steps[].updatedAt | string | Yes | ISO 8601 timestamp. |
404Resource not foundapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
Get the latest project Full Auto run
Loading...
Response 200
Loading...