Batch status
GETapi.dizo.ai/v1/batch/{id}Free
Status, hit count and results_url for a batch job.
Results stay available for 7 days.
Cost: Free. Charged never.
Parameters
| Name | Type | Description |
|---|---|---|
| idrequired | path | Batch id. |
Example
{
"id": "bat_3Jx8",
"status": "completed",
"hits": 2310,
"results_url": "https://files.dizo.ai/bat_3Jx8.jsonl",
"credits_used": 2310
}curl https://api.dizo.ai/v1/batch/bat_3Jx8 \ -H "Authorization: Bearer $DIZO_API_KEY"
import os, requests
r = requests.get(
"https://api.dizo.ai/v1/batch/{id}",
headers={"Authorization": f"Bearer {os.environ['DIZO_API_KEY']}"},
)
print(r.json(), r.headers["x-dizo-credits-used"])const r = await fetch("https://api.dizo.ai/v1/batch/{id}", {
method: "GET",
headers: { Authorization: `Bearer ${process.env.DIZO_API_KEY}` },
});
console.log(await r.json(), r.headers.get("x-dizo-credits-used"));Errors follow the standard error shape. Add "dry_run": true for a free quote and "max_credits" to cap spend. Agents: this page is also at /docs/batch-get.md.