Start or resume a dispatched remediation worker
POST
/v1/security/remediations/{remediationId}/executeInternal fenced worker endpoint. The caller must present the lease-bound dispatch attestation for this exact remediation.
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 |
|---|---|---|---|---|
| remediationId | path | string | Yes | — |
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.
200Remediation execution contextapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| terminal | boolean | Yes | — |
| remediation | object | No | — |
| remediation.id | string | Yes | Unique identifier. |
| remediation.repositoryId | string | Yes | — |
| remediation.findingId | string | No | — |
| remediation.findingIds | string[] | Yes | — |
| remediation.runId | string | No | — |
| remediation.status | proposed | validating | waiting_approval | approved | published | rejected | failed | cancelled | Yes | Current lifecycle status. |
| remediation.lifecycle | queued | generating | agent_running | pull_request_open | pull_request_closed | merged | verifying | fixed | deployed | verification_failed | failed | cancelled | Yes | — |
| remediation.patchDigest | string | Yes | — |
| remediation.validation | object | Yes | — |
| remediation.approvedByUserId | string | No | — |
| remediation.approvedAt | string | No | — |
| remediation.branchName | string | No | — |
| remediation.pullRequestId | string | No | — |
| remediation.pullRequestUrl | string | No | — |
| remediation.workerThreadId | string | No | — |
| remediation.sourceSha | string | No | — |
| remediation.metadata | object | Yes | Free-form metadata object. |
| remediation.createdAt | string | Yes | ISO 8601 timestamp. |
| remediation.updatedAt | string | Yes | ISO 8601 timestamp. |
| remediationId | string | No | — |
| runId | string | No | — |
| repositoryId | string | No | — |
| repositoryFullName | string | No | — |
| defaultBranch | string | No | — |
| sourceSha | string | No | — |
| sourceRef | string | No | — |
| branchName | string | No | — |
| workerThreadId | string | No | — |
| agentId | string | No | Agent ID. |
| message | string | No | Message text. |
| prompt | string | No | — |
| policy | object | No | — |
404Resource not foundapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
Start or resume a dispatched remediation worker
Loading...
Response 200
Loading...