Skip to main content
POST/anthropic/v1/messages
For the full upstream contract, see the Claude Messages API reference.

Authorizations

x-api-key
string
header
required

Tokenless API key. Include anthropic-version on Anthropic-compatible requests.

Headers

anthropic-version
string
required

Selects the Anthropic-compatible response format.

Body

application/json
model
enum<string>
required
Available options:
tokenless-pro,
tokenless-max,
tokenless-ultra-saver
max_tokens
integer
required
Required range: x >= 1
messages
object[]
required
Minimum array length: 1
stream
boolean
default:false

Response

An Anthropic-compatible message response or SSE stream.