Poll a batch inference job's status and results
Poll the async batch-inference job submitted via POST /agents//batch. While the batch is processing the response carries live progress (items completed so far); once finished it carries the full per-item result set with each item’s custom_id, agent reply, and token usage. Returns 404 when the batch is unknown to this tenant (or its results have aged out of the retention window), so treat a 404 on a previously valid batch_id as terminal. Owner/admin/developer roles only — the result set contains the full agent output.
Authorizations
Dashboard JWT token from Clerk
Headers
Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.
true, false Path Parameters
Agent identifier.
Batch identifier returned by POST /agents/{id}/batch.