v1

latestOpenAPI 3.1.02026-07-26793302.3 KB

Anthropic Claude

post/v1/messages

Request body

modelstring required

Use this field according to the endpoint schema.

max_tokensinteger required

Use this field according to the endpoint schema.

containerstring

Use this field according to the endpoint schema.

inference_geostring

Use this field according to the endpoint schema.

context_managementobject nullable

Use this field according to the endpoint schema.

mcp_serversobject[]

Use this field according to the endpoint schema.

service_tier'auto' | 'standard_only'

Use this field according to the endpoint schema.

stop_sequencesstring[]

Use this field according to the endpoint schema.

streamboolean

Use this field according to the endpoint schema.

systemstring

Use this field according to the endpoint schema.

temperaturenumber

Use this field according to the endpoint schema.

top_kinteger

Use this field according to the endpoint schema.

top_pnumber

Use this field according to the endpoint schema.

Response

Successful Response

idstring required

Use this field according to the endpoint schema.

type'message' required

Use this field according to the endpoint schema.

role'assistant' required

Use this field according to the endpoint schema.

modelstring required

Use this field according to the endpoint schema.

stop_reason'end_turn' | 'max_tokens' | 'stop_sequence' | 'tool_use' | 'pause_turn' | 'refusal' required

Use this field according to the endpoint schema.

stop_sequencestring nullable

Use this field according to the endpoint schema.