Skip to main content
GET
Get a batch
To see each input, call List a batch’s inputs. You can read only your own batches. Anyone else’s answers 404. Needs runs:read. MCP tool: get_batch.

Authorizations

Authorization
string
header
required

API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.

Path Parameters

batch_id
string
required

Response

Successful Response

batch_id
string
required
status
enum<string>
required

queued, running, then completed (every input ended), cancelled, out_of_credits (the rest were not started) or failed.

Available options:
queued,
running,
completed,
cancelled,
out_of_credits,
failed
skill_id
string
required
skill_slug
string
required
total
integer
required

Inputs in the list.

done
integer
required

Inputs that ended, whichever way.

rows
integer
required

Rows collected so far, across every input.

counts
BatchCounts · object
required

Inputs by status.

credits_used
number
required

Credits charged so far by the list's runs.

estimated_credits
number
required

The estimate when it started.

credits_per_input
number
required

The per-input price the estimate used.

concurrency
integer
required

How many inputs run at once.

poll_url
string
required
rows_url
string
required
csv_url
string
required
status_url
string
required
read-only

Where to read it — the same URL as poll_url (kept as an alias): every long job's answer names its URL status_url.

label
string
default:""
max_results_per_input
integer | null
stop_reason
string | null

Why it stopped early, in plain words.

cancel_requested
boolean
default:false
created_at
string<date-time> | null
started_at
string<date-time> | null
ended_at
string<date-time> | null
idempotent_replay
boolean
default:false

An Idempotency-Key matched a batch you already started; this is that batch.