curl --request POST \
--url https://api.electronhub.ai/v1/chat/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-4o",
"messages": [
{
"role": "system",
"content": "<string>",
"name": "<string>",
"tool_calls": [
{
"id": "<string>",
"type": "function",
"function": {
"name": "<string>",
"arguments": "<string>"
}
}
]
}
],
"stream": false,
"max_tokens": 123,
"temperature": 1,
"top_p": 1,
"top_k": 123,
"frequency_penalty": 0,
"presence_penalty": 0,
"tools": [
{
"type": "function",
"function": {
"name": "<string>",
"description": "<string>",
"parameters": {}
}
}
],
"tool_choice": "none",
"web_search": false,
"thinking": {
"type": "enabled",
"budget_tokens": 123
},
"reasoning_effort": "low"
}'