{
"model": "qwen3-235b-a22b",
"stream": true,
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}curl --location --request POST 'https://api.302.ai/v1/chat/completions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "qwen3-235b-a22b",
"stream": true,
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}'{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "Hi there! How can I help you today?",
"reasoning_content": "Okay, the user said \"Hello!\" so I should respond with a friendly greeting. Let me make sure to keep it welcoming and offer assistance. Maybe say something like \"Hi there! How can I help you today?\" That should work.",
"role": "assistant"
}
}
],
"created": 1769416334,
"id": "chatcmpl-ca577eba-d3f5-9dd6-982d-155157f487dd",
"model": "qwen3-235b-a22b",
"object": "chat.completion",
"usage": {
"completion_tokens": 62,
"completion_tokens_details": {
"reasoning_tokens": 47
},
"prompt_tokens": 10,
"total_tokens": 72
}
}