{
"model": "gpt-5.2",
"stream": true,
"input": [
{
"role": "user",
"content": "Hello!"
}
]
}curl --location --request POST 'https://api.xaix.me/v1/responses' \
--header 'Authorization: Bearer {YOUR_API_KEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-5.2",
"stream": true,
"input": [
{
"role": "user",
"content": "Hello!"
}
]
}'{
"type": "string",
"sequence_number": 0,
"response": {
"id": "string",
"object": "string",
"created_at": 0,
"status": "string",
"background": true,
"error": null,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": null,
"model": "string",
"output": [
"string"
],
"parallel_tool_calls": true,
"previous_response_id": null,
"reasoning": {
"effort": null,
"summary": null
},
"service_tier": "string",
"store": true,
"temperature": 0,
"text": {
"format": {
"type": "string"
}
},
"tool_choice": "string",
"tools": [
"string"
],
"top_p": 0,
"truncation": "string",
"usage": null,
"user": null,
"metadata": {}
}
}