Start batch inference job
Run a model repository over up to 1,000 examples. Supply stored example IDs,
inline examples, or scope: "all"—exactly one selection mode is required.
The endpoint returns 202 Accepted. Poll the URL in the Location response
header for progress.
/v1/models/{workspace}/{model}/batch-decisionsAuthorization
Send a Modaic bearer token in the Authorization header.
Headers
A key between 8 and 255 characters. Reuse it only when retrying this exact request.
Path Parameters
User or organization workspace slug.
Model repository slug. Repository write access is required.
Body
Branch whose model configuration will be used.
Commit to run. When omitted, the current branch head is resolved and stored on the batch inference job.
Between 1 and 1,000 unique stored example IDs.
Between 1 and 1,000 inline examples. Each item contains an optional UUID id
and required JSON state. A UUID is generated when id is omitted. Inline
examples are added to the model repository before decisions run.
Set to "all" to run every non-deleted example in the model repository.
Response
Batch inference job ID.
Exact model revision used by the batch.
Integer total, completed, and failed counts.
Final counts when the job reaches a terminal state.
Job-level error with code and message.