Get Status of Many Threads

Beta
Read the lifecycle status of up to 200 threads in one call, whether they were started by `POST /aop/execute-async` or `POST /aop/execute-batch`. Returns aggregate counts plus one compact entry per thread (status, terminal flag, output availability, timestamps) without loading any messages; fetch results with `GET /threads/{thread_id}/status` once `output_available` is true. Only threads you launched are returned: unknown IDs and other users' threads are listed in `not_found` and are indistinguishable.

Authentication

X-API-KEYstring
API Key authentication via header

Request

This endpoint expects an object.
thread_idslist of stringsRequired

Thread IDs to check (1-200 per request), from POST /aop/execute-async or POST /aop/execute-batch. Duplicates are collapsed.

Response

Status of every requested thread you own
countsobject
Found threads per canonical status
foundinteger
Requested threads that exist and belong to you
is_completeboolean
True when every found thread has finished
not_foundlist of strings

Requested thread IDs that do not exist or are not yours; the two cases are indistinguishable

requestedinteger
Distinct thread IDs in the request
terminalinteger

Found threads that have finished (completed + failed + canceled)

threadslist of objects
One entry per found thread, in request order

Errors

401
Unauthorized Error
422
Unprocessable Entity Error
500
Internal Server Error