Record a durable run control request
POST
/v1/threads/{threadId}/runs/{runId}/controlAppend an auditable pause, resume, park, cancel, or stop request. Until the durable coordinator is connected, effectApplied remains false.
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 |
|---|---|---|---|---|
| threadId | path | string | Yes | Thread ID |
| runId | path | string | Yes | — |
Query parameters
None.
Body schema
Content type: application/json · Required
| Field | Type | Required | Description |
|---|---|---|---|
| action | pause | resume | park | cancel | stop | Yes | — |
| reason | string | No | — |
| idempotencyKey | string | No | — |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
202Control request committed to the event spineapplication/json
None.
Record a durable run control request
Loading...
Response 202
Loading...