Skip to main content
POST
Run model inference

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
data_plane_id
string<uuid>
required

Data plane identifier, must be provided when registering dataset in external dataplane.

model
enum<string>
required
Available options:
anthropic.claude-haiku-4.5,
anthropic.claude-sonnet-4.5,
anthropic.claude-sonnet-4.6,
anthropic.claude-sonnet-5.0,
anthropic.claude-opus-4.5,
anthropic.claude-opus-4.6,
anthropic.claude-opus-4.7,
anthropic.claude-opus-4.8,
anthropic.claude-opus-5.0,
openai.gpt-oss-120b,
openai.gpt-4.1,
openai.o4-mini
messages
(Message (content-block shape, recommended) · object | Message (legacy `{role, text}` shape, still accepted) · object)[]
required

Ordered conversation turns. The current wire shape carries a content array of content blocks (text / tool_use / tool_result) so multi-turn flows with tool interactions can round-trip without flattening to prose.

The legacy {role, text: String} shape is still accepted on the request side for backwards compatibility — the API auto-canonicalizes legacy messages into a single text content block. New integrations should use the content-block shape; responses always emit it.

inference_config
object
required
tags
string[]

Response

OK

job_id
string<uuid>
required

The id of the job that has been enqueued.