Cancel project Full Auto

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

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
runIdpathstringYesDurable project Full Auto run 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.

200Project Full Auto cancelledapplication/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.
Cancel project Full Auto
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow