List Tool Executions

GET/api/v1/threads/{thread_id}/tool-executions

Authorization

AuthorizationBearer <token>

A workspace API key (a13n_...)

In: header

Path Parameters

thread_id*Thread Id

Query Parameters

run_id?string|null
active?boolean|null
limit?Limit
Range1 <= value <= 100
Default50
cursor?string|null

Header Parameters

X-Workspace-ID?|

The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/threads/string/tool-executions"
{  "items": [    {      "attempt_id": "string",      "cancel_requested_at": "2019-08-24T14:15:22Z",      "completed_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "delivery_acknowledged": false,      "error": "string",      "execution_id": "string",      "expires_at": "2019-08-24T14:15:22Z",      "first_delivered_at": "2019-08-24T14:15:22Z",      "foreground_released": false,      "result_available": false,      "run_id": "string",      "status": "queued",      "thread_id": "string",      "tool_call_id": "string",      "tool_name": "string",      "worker_id": "string"    }  ],  "next_cursor": "string"}