Skip to main content
POST
System One evaluation API
See the decision models guide for working examples, model discovery, and usage and billing behavior.

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token.

Headers

X-Opper-Name
string

Names the call. The model span takes this name, and so does the trace when that span is its root. Up to 256 bytes.

X-Opper-Parent-Span-Id
string<uuid>

Parent span ID for distributed tracing context.

X-Opper-Tags
string

Comma-separated key:value usage-attribution tags (e.g. tenant:acme,project:demo, max 8). Recorded on the generation's billing/metrics rows; group spend by any key via GET /v2/analytics/usage?group_by=. Header-borne twin of the /v3/session URL prefix tags (which win per key when both are present); opper.-prefixed keys and session_id are reserved. Malformed values return 400.

TypeSafe-Danger-Zone-Images
string

TypeSafe's opt-in for images and box questions: true. Required when the request has assets or a box question, and forwarded to TypeSafe as sent.

Body

model
string
required
Minimum string length: 1
questions
object
required
state
required
assets
object

TypeSafe models only, with the TypeSafe-Danger-Zone-Images: true header. Images keyed by a placeholder written where each belongs in the state, instructions or criteria (inside any string value, not object keys). Every asset must be referenced.

document_file_ids
string[]

Gemini Decision 1 only. Ordered IDs of PDFs uploaded to POST /v3/files with purpose=ocr_input in this project. Shares a limit of 16 files and 32 MiB before encoding with media_file_ids. Set state to an empty string for file-only input.

Maximum array length: 16
Pattern: ^file_[0-9A-Za-z]{22}$
media_file_ids
string[]

Gemini Decision 1 only. Ordered IDs of images, audio or video uploaded to POST /v3/files with purpose=reference_media in this project. Shared limits apply across both file fields.

Maximum array length: 16
Pattern: ^file_[0-9A-Za-z]{22}$

Response

Successful response

answers
object
required
model
string
required
usage
object
required
Last modified on November 10, 2026