stream field to true.x-api-key: sk-xxx (or use Authorization)anthropic-version: 2023-06-01content-type: application/jsonstream=true, the response will be an SSE stream (content-type: text/event-stream), and the event types follow the native Anthropic specification (message_start / content_block_start / content_block_delta / content_block_stop / message_delta / message_stop).curl --location 'https://api.aboai.ai/v1/messages' \
--header 'Content-Type: application/json' \
--data '{
"model": "claude-sonnet-4.5",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello, nice to meet you"
}
]
}'{
"model": "claude-sonnet-4-5-20250929",
"id": "msg_bdrk_01DJBYweRg351XHSgq6JcTsE",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "Hello! Nice to meet you too! How are you doing today? Is there anything I can help you with?"
}
],
"stop_reason": "end_turn",
"usage": {
"input_tokens": 13,
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"cache_creation": {
"ephemeral_5m_input_tokens": 0,
"ephemeral_1h_input_tokens": 0
},
"output_tokens": 26
}
}