Get a security run and its evidence
GET
/v1/security/runs/{runId}Returns run state, findings, append-only audit events, classified artifacts, and remediation records.
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
| 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.
200Security run detailapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| run | object | Yes | — |
| run.id | string | Yes | Unique identifier. |
| run.repositoryId | string | Yes | — |
| run.repositoryFullName | string | No | — |
| run.triggerType | manual | schedule | pull_request | push | retry | Yes | — |
| run.triggerEventId | string | No | — |
| run.baseSha | string | No | — |
| run.headSha | string | No | — |
| run.ref | string | No | — |
| run.status | queued | running | waiting_approval | succeeded | partial | failed | cancelled | Yes | Current lifecycle status. |
| run.stage | ingest | checkout | inventory | scan | validate | triage | remediate | verify | publish | complete | Yes | — |
| run.policyVersionId | string | No | — |
| run.threatModelVersionId | string | No | — |
| run.promptVersion | string | No | — |
| run.modelVersion | string | No | — |
| run.scannerVersions | object | No | — |
| run.coverage | object | No | — |
| run.summary | object | No | — |
| run.error | object | No | — |
| run.findingCount | integer | Yes | — |
| run.checkRunUrl | string | No | — |
| run.pullRequestUrl | string | No | — |
| run.queuedAt | string | Yes | — |
| run.startedAt | string | No | ISO 8601 timestamp. |
| run.completedAt | string | No | ISO 8601 timestamp. |
| run.createdAt | string | Yes | ISO 8601 timestamp. |
| run.updatedAt | string | Yes | ISO 8601 timestamp. |
| findings | object[] | Yes | — |
| findings[].id | string | Yes | Unique identifier. |
| findings[].repositoryId | string | Yes | — |
| findings[].repositoryFullName | string | No | — |
| findings[].fingerprint | string | Yes | — |
| findings[].ruleId | string | No | — |
| findings[].title | string | Yes | Display title. |
| findings[].summary | string | Yes | — |
| findings[].severity | critical | high | medium | low | informational | Yes | — |
| findings[].confidence | number | Yes | — |
| findings[].exploitability | string | No | — |
| findings[].cwe | string[] | No | — |
| findings[].cvss | number | No | — |
| findings[].status | open | accepted | risk_accepted | false_positive | fixed | Yes | Current lifecycle status. |
| findings[].firstSeenRunId | string | No | — |
| findings[].lastSeenRunId | string | No | — |
| findings[].assignedToUserId | string | No | — |
| findings[].resolutionReason | string | No | — |
| findings[].resolutionExpiresAt | string | No | — |
| findings[].fixedAt | string | No | — |
| findings[].metadata | object | No | Free-form metadata object. |
| findings[].occurrenceCount | integer | Yes | — |
| findings[].createdAt | string | Yes | ISO 8601 timestamp. |
| findings[].updatedAt | string | Yes | ISO 8601 timestamp. |
| auditEvents | object[] | Yes | — |
| auditEvents[].id | string | Yes | Unique identifier. |
| auditEvents[].repositoryId | string | No | — |
| auditEvents[].runId | string | No | — |
| auditEvents[].findingId | string | No | — |
| auditEvents[].remediationId | string | No | — |
| auditEvents[].actorType | user | system | github | agent | Yes | — |
| auditEvents[].actorId | string | Yes | — |
| auditEvents[].action | string | Yes | — |
| auditEvents[].targetType | string | Yes | — |
| auditEvents[].targetId | string | Yes | — |
| auditEvents[].correlationId | string | No | — |
| auditEvents[].payload | object | No | — |
| auditEvents[].previousHash | string | Yes | SHA-256 digest of the preceding organization security audit event; empty for the chain root. |
| auditEvents[].eventHash | string | Yes | SHA-256 digest binding this event to its predecessor. |
| auditEvents[].createdAt | string | Yes | ISO 8601 timestamp. |
| artifacts | object[] | Yes | — |
| artifacts[].id | string | No | Unique identifier. |
| artifacts[].kind | string | No | — |
| artifacts[].storageKey | string | No | — |
| artifacts[].digest | string | No | — |
| artifacts[].sizeBytes | integer | No | — |
| artifacts[].mediaType | string | No | — |
| artifacts[].classification | internal | confidential | restricted | No | — |
| artifacts[].metadata | object | No | Free-form metadata object. |
| artifacts[].createdAt | string | No | ISO 8601 timestamp. |
| artifacts[].expiresAt | string | No | — |
| remediations | object[] | Yes | — |
| remediations[].id | string | No | Unique identifier. |
| remediations[].findingId | string | No | — |
| remediations[].runId | string | No | — |
| remediations[].status | proposed | validating | waiting_approval | approved | published | rejected | failed | cancelled | No | Current lifecycle status. |
| remediations[].patchDigest | string | No | — |
| remediations[].validation | object | No | — |
| remediations[].approvedByUserId | string | No | — |
| remediations[].approvedAt | string | No | — |
| remediations[].branchName | string | No | — |
| remediations[].pullRequestId | string | No | — |
| remediations[].pullRequestUrl | string | No | — |
| remediations[].createdAt | string | No | ISO 8601 timestamp. |
| remediations[].updatedAt | string | No | ISO 8601 timestamp. |
404Resource not foundapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
Get a security run and its evidence
Loading...
Response 200
Loading...