v1

latestOpenAPI 3.1.0MIT2026-07-13174391.2 KB
Reflex

Poll an async batch

Read a batch's status. request_counts advances as the worker drains the queue; status moves queued → in_progress → completed. Poll on an interval rather than holding a request open.

get/v1/reflex/asynchronous_batches/{batch_id}

Path parameters

batch_idstring required

Response

Batch status.

idstring
objectstring
status'queued' | 'in_progress' | 'completed'
created_atinteger

Unix timestamp (seconds).

Example response

{
  "id": "rbatch-a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
  "object": "reflex.batch",
  "status": "queued",
  "request_counts": {
    "total": 2
  },
  "created_at": 1780000000
}