Gateway
Presets
Save routing configuration once and reference it from requests by slug, optionally pinned to a version.
A preset is a saved, versioned set of request settings, such as a model, fallbacks and provider preferences. Requests reference it by slug instead of repeating the configuration.
Availability
The dashboard has no screen for creating or editing presets yet. Until a preset exists in your workspace, a request that references one returns 404 preset_not_found. The request format below is stable, so you can adopt it once presets are available to you.
Reference a preset
response = client.chat.completions.create(
model="openai/gpt-5.4-nano",
messages=[{"role": "user", "content": "Classify this ticket."}],
extra_body={"preset": "support-triage"},
)The preset is merged into the request before validation, so it can supply model, models, provider or cache settings. The preset field itself is never sent to the provider.
Errors
Caching and replay
The resolved preset slug and version are part of response-cache and idempotency identity, so changing a preset's active version never serves a response produced under another version.