curl --request POST 'https://guardrails.quilr.ai/openai_compatible/v1/chat/completions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer sk-quilr-...' \
--data '{
"model": "gpt-4o-mini",
"messages": [
{
"role": "system",
"content": "You are a concise, helpful assistant."
},
{
"role": "user",
"content": "Write a one sentence greeting from the QuilrAI gateway."
}
],
"temperature": 0.7,
"max_tokens": 512,
"stream": true
}'Request body
{
"model": "gpt-4o-mini",
"messages": [
{
"role": "system",
"content": "You are a concise, helpful assistant."
},
{
"role": "user",
"content": "Write a one sentence greeting from the QuilrAI gateway."
}
],
"temperature": 0.7,
"max_tokens": 512,
"stream": true
}