curl --location --request POST '/v1/messages' \
--header 'Authorization;' \
--header 'anthropic-version;' \
--header 'Content-Type: application/json' \
--data-raw '{
"max_tokens": 0,
"messages": [
{
"role": "string",
"content": [
[
[
{}
]
]
]
}
],
"model": "string",
"cache_control": {
"type": "string",
"ttl": "string"
},
"container": "string",
"inference_geo": "string",
"metadata": {
"user_id": "string"
},
"output_config": {
"effort": "string",
"format": {
"schema": {
"key": {}
},
"type": "string"
}
},
"service_tier": "string",
"stop_sequences": [
"string"
],
"stream": true,
"system": [
[
[
{}
]
]
],
"temperature": 0,
"thinking": {
"type": "string",
"budget_tokens": 0,
"display": "string"
},
"tool_choice": {
"type": "string",
"disable_parallel_tool_use": true
},
"tools": [
{
"name": "string",
"type": "string",
"description": "string",
"input_schema": {
"type": "string",
"properties": {
"key": {}
},
"required": [
"string"
]
},
"allowed_callers": [
"string"
],
"cache_control": {
"type": "string",
"ttl": "string"
},
"defer_loading": true,
"eager_input_streaming": true,
"input_examples": [
{
"key": {}
}
],
"strict": true,
"allowed_domains": [
"string"
],
"blocked_domains": [
"string"
],
"max_uses": 0,
"user_location": {
"type": "string",
"city": "string",
"country": "string",
"region": "string",
"timezone": "string"
},
"citations": {
"enabled": true
},
"max_content_tokens": 0,
"use_cache": true,
"max_characters": 0
}
],
"top_k": 0,
"top_p": 0
}'