curl --request POST \
--url https://api.llmrouter.app/v1/chat/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "<string>",
"messages": [
{
"role": "system",
"content": "<string>",
"name": "<string>"
}
],
"temperature": 1,
"max_tokens": 123,
"stream": false,
"gateway": {
"zdr": true,
"order": [
"<string>"
],
"only": [
"<string>"
],
"planningTriggerScore": 0.6,
"imageGenerationModel": "<string>",
"tags": [
{
"name": "<string>",
"description": "<string>",
"models": [
"<string>"
]
}
],
"chatHistoryCompression": {
"enabled": true,
"score": 0.6
},
"mediaOptimization": false,
"toolOptimization": {
"enabled": true,
"acceptScore": 0.5,
"alwaysInclude": [
"<string>"
]
},
"redact": {
"email": true,
"phone": true,
"ip": true,
"uuid": true,
"token": true,
"credit_card": true,
"iban": true,
"ssn": true,
"mac": true,
"custom": [
"<string>"
]
}
}
}
'