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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_batch"
}
}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). |