Request security-run cancellation
POST
/v1/security/runs/{runId}/cancelHow 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 |
|---|---|---|---|---|
| runId | path | string | Yes | Security run ID |
Query parameters
None.
Header parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| X-Computer-Agents-Organization | header | string | No | Active organization context. If omitted, the authenticated user's personal organization is used. |
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.
200Updated runapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Unique identifier. |
| repositoryId | string | Yes | — |
| repositoryFullName | string | No | — |
| triggerType | manual | schedule | pull_request | push | retry | Yes | — |
| triggerEventId | string | No | — |
| baseSha | string | No | — |
| headSha | string | No | — |
| ref | string | No | — |
| status | queued | running | waiting_approval | succeeded | partial | failed | cancelled | Yes | Current lifecycle status. |
| stage | ingest | checkout | inventory | scan | validate | triage | remediate | verify | publish | complete | Yes | — |
| policyVersionId | string | No | — |
| threatModelVersionId | string | No | — |
| promptVersion | string | No | — |
| modelVersion | string | No | — |
| scannerVersions | object | No | — |
| coverage | object | No | — |
| summary | object | No | — |
| error | object | No | — |
| findingCount | integer | Yes | — |
| checkRunUrl | string | No | — |
| pullRequestUrl | string | No | — |
| queuedAt | string | Yes | — |
| startedAt | string | No | ISO 8601 timestamp. |
| completedAt | string | No | ISO 8601 timestamp. |
| createdAt | string | Yes | ISO 8601 timestamp. |
| updatedAt | string | Yes | ISO 8601 timestamp. |
404Resource not foundapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
Request security-run cancellation
Loading...
Response 200
Loading...