get batch
get_batchFetch a batch job's live status, request counts, and output/error file IDs to check completion.
Instructions
Fetch one batch job with its status, request counts and output/error file ids refreshed live from the processing backend, to poll for completion. GET /v1/batches/{id} (API-key scope: read). Returns: { id, nebius_batch_id, endpoint, status, request_total, request_completed, request_failed, completion_window, billed_cost_usd, created_at, output_file_id, error_file_id, error } Notes: Best-effort live reconciliation: if the upstream status lookup fails the stored row is returned unchanged. Billing still happens in the background reconciler, not on this read. 404 "Batch not found" outside the workspace; 404 while the batch flag is off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The batch id from POST /v1/batches or GET /v1/batches (the platform id, not the upstream batch id). |