Start batch decision
Run a repository model 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/{modelId}/batch-decisionsAuthorization
Send a Modaic bearer token in the Authorization header.
Parameters
A key between 8 and 255 characters. Reuse it only when retrying this exact request.
Model repository ID. Repository write access is required.
Branch whose model configuration will be used.
Commit to run. When omitted, the current branch head is resolved and stored on the batch decision.
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.
Set to "all" to run every non-deleted example in the model.
Response
Batch decision 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.