Presets
Presets are reusable chat configurations. Manage them in Dashboard → Presets or through the presets API.
Create preset
{
"slug": "support-replies",
"models": ["mistral-small-latest", "mistral-medium-latest"],
"system_prompt": "You are a concise support assistant.",
"parameters": {
"temperature": 0.3,
"max_tokens": 500
},
"routing_strategy": "fallback",
"description": "Short customer support replies with fallback model"
}
Apply preset
curl https://ozeye.ai/v1/chat/completions \
-H "Authorization: Bearer $OZEYE_API_KEY" \
-H "Content-Type: application/json" \
-H "X-Preset: support-replies" \
-d '{
"messages": [{"role": "user", "content": "Summarize this ticket."}]
}'
Behavior
slugis required and must be lowercase letters/numbers/hyphens, 1–63 characters.modelormodelssupplies default chat model(s). With multiple models, the first model is primary and remaining models are preset fallbacks.parametersacceptstemperature,top_p,max_tokens,top_k,frequency_penalty,presence_penalty,stop, andseed.routing_strategycan becost,latency,availability, orfallback.- Updating a preset creates a new immutable version, and the 20 newest are kept. Deleting a preset removes all its versions.
- An API key can change or delete only the presets that key created (otherwise
403). The signed-in dashboard can change any of them. Any key on the account can read and apply them. - A preset can hold a
system_promptof up to 64 KB, adescriptionof up to 2 KB and up to 10models. An account can have up to 50 presets. - In an API request, what you send wins: the preset’s
system_promptapplies only when the request has no system message, and its models only when the request has nomodel. - In the chat, the preset’s system prompt comes before your own System Message, its fallbacks apply while you stay on its first model, and each chat remembers its preset.