Start durable project Full Auto

POST/v1/projects/{projectId}/automation-runs

Snapshots the dependency-ready agent task graph, creates idempotent execution steps, and queues the run for the platform execution worker. The run continues independently of the browser.

How 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
NameLocationTypeRequiredDescription
projectIdpathstringYesProject ID
Query parameters
None.
Header parameters
NameLocationTypeRequiredDescription
Idempotency-KeyheaderstringNo—

Body schema

Content type: application/json · Optional

FieldTypeRequiredDescription
maxTasksintegerNo—
stopOnFailurebooleanNo—
idempotencyKeystringNo—

What the API returns

Each response code below includes the documented payload shape for the ACP API.

202Project Full Auto acceptedapplication/json
FieldTypeRequiredDescription
automationRunobjectYes—
automationRun.idstringYesUnique identifier.
automationRun.userIdstringYesUser ID.
automationRun.organizationIdstringYes—
automationRun.createdByUserIdstringYes—
automationRun.projectIdstringYesProject ID.
automationRun.statusqueued | running | paused | completed | failed | cancelledYesCurrent lifecycle status.
automationRun.stopOnFailurebooleanYes—
automationRun.maxTasksintegerYes—
automationRun.currentStepIdstringYes—
automationRun.dispatchIdstringYes—
automationRun.startedCountintegerYes—
automationRun.completedCountintegerYes—
automationRun.failedCountintegerYes—
automationRun.lastErrorCodestringYes—
automationRun.lastErrorMessagestringYes—
automationRun.idempotencyKeystringYes—
automationRun.metadataobjectYesFree-form metadata object.
automationRun.startedAtstringYesISO 8601 timestamp.
automationRun.completedAtstringYesISO 8601 timestamp.
automationRun.createdAtstringYesISO 8601 timestamp.
automationRun.updatedAtstringYesISO 8601 timestamp.
automationRun.stepsobject[]Yes—
automationRun.steps[].idstringYesUnique identifier.
automationRun.steps[].runIdstringYes—
automationRun.steps[].projectIdstringYesProject ID.
automationRun.steps[].taskIdstringYes—
automationRun.steps[].sequenceintegerYes—
automationRun.steps[].statuspending | running | completed | failed | cancelledYesCurrent lifecycle status.
automationRun.steps[].attemptCountintegerYes—
automationRun.steps[].taskAgentSessionIdstringYes—
automationRun.steps[].threadIdstringYesThread ID.
automationRun.steps[].errorCodestringYes—
automationRun.steps[].errorMessagestringYes—
automationRun.steps[].evidenceobjectYes—
automationRun.steps[].startedAtstringYesISO 8601 timestamp.
automationRun.steps[].completedAtstringYesISO 8601 timestamp.
automationRun.steps[].createdAtstringYesISO 8601 timestamp.
automationRun.steps[].updatedAtstringYesISO 8601 timestamp.
409No runnable tasks exist or another Full Auto run is active
None.
501Durable project automation requires PostgreSQL
None.
Start durable project Full Auto
Loading...
Response 202
Loading...
See the ACP quickstart and SDK flow