List pending approvals

GET
/v1/threads/{thread_id}/approvals
AuthorizationBearer <token>

Checked by host({authenticate}), which maps the request to a Principal or rejects it.

In: header

Path Parameters

thread_id*string

Lowercase UUID string. Writers MUST generate UUIDv7; readers accept any lowercase UUID, so the version is not an admission rule.

Match^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Query Parameters

branch_id?string

Default: the thread's main branch.

Match^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/threads/string/approvals"
[  {    "challenge_id": "string",    "call_id": "string",    "tool": "string",    "input": {      "property1": null,      "property2": null    },    "args_hash": "string",    "expires_at": 0,    "suggested_rules": [      "string"    ]  }]
Edit on GitHub