Get Batch Execution Status
Aggregate lifecycle status of every run launched under a batch handle from POST /aop/execute-batch: counts per canonical run status, an is_complete flag, and a cursor-paged list of runs. Poll this once per batch instead of GET /threads/{thread_id}/status per thread; fetch a run’s messages from the thread status endpoint only once it is terminal. This read never loads transcripts.
Authentication
Path parameters
Batch handle returned by execute-batch
Headers
Query parameters
Which runs to list: terminal (completed/failed/canceled), active (everything else) or all. Counts always cover the whole batch.
next_cursor from the previous page
Response
One page of runs matching the status filter, ordered by cursor
Runs that have finished (completed + failed + canceled)
Opaque cursor for the next page of runs; null when this page is the last one. Pass it as cursor on the next call.
