List pending permission requests
GET
/v1/threads/{threadId}/permission-requestsReturn live and persisted runtime permission requests waiting for a user decision in this thread.
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 |
Query parameters
None.
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.
200Pending permission requestsapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| data | object[] | Yes | — |
| data[].requestId | string | Yes | — |
| data[].threadId | string | Yes | Thread ID. |
| data[].userId | string | Yes | User ID. |
| data[].toolName | string | Yes | — |
| data[].input | string | Yes | — |
| data[].currentMode | string | Yes | — |
| data[].requiredMode | string | Yes | — |
| data[].reason | string | No | — |
| data[].createdAt | string | Yes | ISO 8601 timestamp. |
404Thread not found
None.