GET
Get the status of a file batch
Request · Response · Guide: Track a batch
state stays in_progress until every registered file is settled (succeeded, failed or expired), then becomes completed (all succeeded), failed (none succeeded) or partially_failed (mixed). Files rejected at registration are counted in counts.rejected and as failures. counts always covers the whole batch, on every page.A batch in which every file was rejected is settled at once as failed, with an empty files[], and its callback is sent like any other.settlement is saved once, when the batch first settles, and never changes after that; it is null until then. A background job also settles batches that nobody polls. state and counts stay live.callback reports delivery to defaults.batchCallbackURL (null when the batch has none): one POST of { event: "upload.batch.settled", batchId, uploadType, state, counts, settledAt, failures } after the batch settles. A non-2xx answer, timeout or network error is retried after 1 min, 5 min, 30 min, 2 h and 12 h, then failed. A URL that resolves to a private address fails without retrying. Delivery is at least once, so use batchId to drop duplicates.files[] is paged in request order: limit 1-100 (default 100), then follow pagination.nextCursor. An invalid limit, or a cursor that is malformed or from another batch, answers 400.A file registered but never uploaded is expired 30 minutes after its presigned URL expired, and counts toward the roll-up so it never blocks the batch.Only batches from POST /files/upload/batch. A multipart batch (POST /files/upload/multipart/batch) has its own status at GET /files/upload/multipart/batch/ and answers 404 here, the same 404 as a batchId that does not exist or belongs to another project.

Authorizations

x-api-key
string
header
required

API key for authentication

Path Parameters

batchId
string
required

Query Parameters

limit
number
default:100

Number of files[] entries per page (default and max 100).

Required range: 1 <= x <= 100
cursor
string

Opaque cursor from a previous response pagination.nextCursor. Omit it for the first page.

Response

Batch status.

batchId
string
required
Example:

"batch_01J9Z"

createdAt
string
required
Example:

"2026-08-19T10:00:00Z"

state
enum<string>
required

in_progress until every registered file is settled; then completed (all succeeded), failed (none succeeded) or partially_failed (mixed). Files rejected at registration count as failures. In a multipart batch, an expired file completed late changes the state again.

Available options:
in_progress,
completed,
partially_failed,
failed
counts
object
required
settlement
object | null
required

Saved once, the first time the batch is seen settled; null until then. It never changes after that. state and counts above stay live, so they can differ from it when a multipart file that counted as expired is completed later.

callback
object | null
required

Delivery of the batch callback to defaults.batchCallbackURL; null when the batch has none.

files
object[]
required

One page of registered files, in request order.

pagination
object
required