GET
/v1/batches/{batch_id}

Path Parameters

batch_id*string
Formatuuid

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/batches/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "string",
  "status": "pending",
  "window": "24h",
  "request_count": 0,
  "created_at": "string",
  "updated_at": "string",
  "completed_at": "string",
  "total_prompt_tokens": 0,
  "total_completion_tokens": 0,
  "total_tokens": 0,
  "total_cost_micros": 0
}
{
  "status_code": 400,
  "detail": "Bad Request",
  "extra": {}
}