Acknowledge or complete local session control command
POST
/v1/threads/{threadId}/local-sessions/{localSessionId}/control/{commandId}/ackHow 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 |
| localSessionId | path | string | Yes | Local execution session ID |
| commandId | path | string | Yes | Local session command ID |
Query parameters
None.
Body schema
Content type: application/json · Optional
| Field | Type | Required | Description |
|---|---|---|---|
| status | acknowledged | completed | cancelled | No | Current lifecycle status. |
| acknowledgedAt | string | No | — |
| completedAt | string | No | ISO 8601 timestamp. |
| payload | object | No | — |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Local session control command updatedapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| command | object | No | — |
| command.id | string | No | Unique identifier. |
| command.sessionId | string | No | Session ID. |
| command.threadId | string | No | Thread ID. |
| command.userId | string | No | User ID. |
| command.commandType | cancel | pause | resume | message | No | — |
| command.payload | object | No | — |
| command.status | pending | acknowledged | completed | cancelled | No | Current lifecycle status. |
| command.createdAt | string | No | ISO 8601 timestamp. |
| command.acknowledgedAt | string | No | — |
| command.completedAt | string | No | ISO 8601 timestamp. |
| command.updatedAt | string | No | ISO 8601 timestamp. |
Acknowledge or complete local session control command
Loading...
Response 200
Loading...