curl --request POST \
--url https://api.tkhub.ai/v1/v1/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'anthropic-version: <anthropic-version>' \
--data '
{
"model": "claude-3-opus-20240229",
"messages": [
{
"role": "user",
"content": "<string>"
}
],
"max_tokens": 2,
"system": "<string>",
"temperature": 0.5,
"top_p": 123,
"top_k": 123,
"stream": true,
"stop_sequences": [
"<string>"
],
"tools": [
{
"name": "<string>",
"description": "<string>",
"input_schema": {}
}
],
"tool_choice": {
"type": "auto",
"name": "<string>"
},
"thinking": {
"type": "enabled",
"budget_tokens": 123
},
"metadata": {
"user_id": "<string>"
}
}
'