Router APIs
Chat Completions API
Send a routed OpenAI-compatible chat completion request
POST
string
required
Bearer plus a Routing API key.string
required
Must be
dari/routing.array
required
OpenAI-style messages.
boolean
Stream with Server-Sent Events.
array
OpenAI-style tool definitions.
string
Require the selected model to use exactly
off, minimal, low, medium, high, xhigh, or max. Models that do not support that level are ineligible.dari_routing adds selected_model, reasoning_effort, reason, and conversation_id.
The /v1 endpoint uses your organization’s default router. To address a specific router instead, send the same request to https://routing.dari.dev/{router_id}/chat/completions.