Skip to content
API v1 · 1.0.0-draft.1
Go to console
Contents ↓

API reference / Batches

POST

Close a batch

POST /v1/batches/{batch_id}/close

Stop accepting files; batch moves to processing (or completed if all done)

Parameters

batch_idstringpathrequired

Possible errors

403forbiddenThis key isn't allowed to do this.
409invalid_stateThis action isn't possible in the current state.
409idempotency_in_progressThe same request is still in progress; retry shortly.
409result_not_readyThe result isn't ready yet.
Last updated: 23 Nov 2026