Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

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

Body

application/json

Anthropic Messages request

max_tokens
integer
messages
object[]
metadata
object
model
string
stop_sequences
string[]
stream
boolean
system
temperature
number
thinking
object
tool_choice
object
tools
object[]
top_k
integer
top_p
number

Response

OK

input_tokens
integer