{
"model": "gpt-4.1-mini",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}
curl --location --request POST 'https://poloai.top/v1/chat/completions' \
--header 'Accept;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-4.1-mini",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}'
{
"id": "string",
"object": "string",
"created": 0,
"choices": [
{
"index": 0,
"message": {
"role": "string",
"content": "string"
},
"finish_reason": "string"
}
],
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0
}
}