Record a durable run control request

POST/v1/threads/{threadId}/runs/{runId}/control

Append 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
NameLocationTypeRequiredDescription
threadIdpathstringYesThread ID
runIdpathstringYes
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
actionpause | resume | park | cancel | stopYes
reasonstringNo
idempotencyKeystringNo

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...
See the ACP quickstart and SDK flow