{
"model ": "string",
"messages ": [
{
"role": "string",
"content": "string"
}
],
"max_tokens": 0,
"system ": "string",
"metadata": {
"user_id": "string"
},
"stop_sequences": [
"string"
],
"stream": true,
"temperature": 0,
"top_k": 0,
"top_p": 0
}curl --location --request POST 'https://api.anthropic.com/v1/messages' \
--header 'Content-Type: application/json' \
--data-raw '{
"model ": "string",
"messages ": [
{
"role": "string",
"content": "string"
}
],
"max_tokens": 0,
"system ": "string",
"metadata": {
"user_id": "string"
},
"stop_sequences": [
"string"
],
"stream": true,
"temperature": 0,
"top_k": 0,
"top_p": 0
}'{}