Skip to main content
POST
Messages (Anthropic format)
Fill in your token in the playground to send a real request. Requests are billed like any other call.

Authorizations

x-api-key
string
header
required

Same token, Anthropic-style header

Headers

anthropic-version
string
default:2023-06-01
required

Body

application/json
model
string
required
Example:

"claude-sonnet-4-6"

max_tokens
integer
required
Example:

256

messages
object[]
required
Example:
system
string
stream
boolean
default:false

Response

Message