curl --request POST \
--url https://api.ai-stats.phaseo.app/v1/chat/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "<string>",
"messages": [
{
"role": "system",
"content": "<string>",
"name": "<string>",
"tool_calls": [
{
"id": "<string>",
"type": "function",
"function": {
"name": "<string>",
"arguments": "<string>",
"description": "<string>",
"parameters": {}
}
}
],
"tool_call_id": "<string>"
}
],
"system": "<string>",
"reasoning": {
"effort": "medium",
"summary": "auto"
},
"frequency_penalty": 0,
"logit_bias": {},
"max_output_tokens": 2,
"meta": false,
"presence_penalty": 0,
"seed": 0,
"stream": false,
"temperature": 1,
"tools": [
{
"type": "function"
}
],
"max_tool_calls": 2,
"parallel_tool_calls": true,
"tool_choice": "<string>",
"top_k": 2,
"logprobs": false,
"top_logprobs": 10,
"top_p": 0.5,
"response_format": "<string>",
"usage": true,
"user_id": "<string>",
"service_tier": "standard"
}
'