curl --request POST \
--url https://ai-gateway.helicone.ai/v1/chat/completions \
--header 'Content-Type: application/json' \
--data '{
"metadata": {},
"top_logprobs": 0,
"temperature": 1,
"top_p": 1,
"top_k": 1,
"user": "<string>",
"safety_identifier": "<string>",
"prompt_cache_key": "<string>",
"cache_control": {
"type": "ephemeral",
"ttl": "<string>"
},
"service_tier": "auto",
"messages": [
{
"content": "<string>",
"role": "developer",
"name": "<string>"
}
],
"model": "<string>",
"modalities": [
"text"
],
"verbosity": "low",
"reasoning_effort": "minimal",
"reasoning_options": {
"budget_tokens": -9007199254740991
},
"max_completion_tokens": -9007199254740991,
"frequency_penalty": 0,
"presence_penalty": 0,
"response_format": {
"type": "text"
},
"store": false,
"stream": false,
"stop": "<string>",
"logit_bias": null,
"logprobs": false,
"max_tokens": -9007199254740991,
"n": 1,
"prediction": {
"type": "content",
"content": "<string>",
"reasoning": "<string>"
},
"seed": -9007199254740991,
"stream_options": {
"include_usage": true,
"include_obfuscation": true
},
"tools": [
{
"type": "function",
"function": {
"description": "<string>",
"name": "<string>",
"parameters": {},
"strict": true
}
}
],
"tool_choice": "none",
"parallel_tool_calls": true,
"function_call": "none",
"functions": [
{
"description": "<string>",
"name": "<string>",
"parameters": {}
}
],
"context_editing": {
"enabled": true,
"clear_tool_uses": {
"trigger": -9007199254740991,
"keep": -9007199254740991,
"clear_at_least": -9007199254740991,
"exclude_tools": [
"<string>"
],
"clear_tool_inputs": true
},
"clear_thinking": {
"keep": -9007199254740991
}
},
"image_generation": {
"aspect_ratio": "<string>",
"image_size": "<string>"
}
}'