Skip to main content
Dari Router exposes an OpenAI-compatible HTTP endpoint for model traffic. The Platform API supports dashboard and management operations such as routers, organizations, API keys, credentials, and billing.

Base URLs

APIBase URLAuthentication
Router Traffichttps://routing.dari.devDari API key with the routing scope.
Platform APIhttps://api.dari.dev/v1Dari API key with the platform scope.

Authentication

Send the key as a bearer token:
Authorization: Bearer $DARI_API_KEY
See Authentication and API Keys for key types and scopes.

First Request

curl https://routing.dari.dev/rtr_123/chat/completions \
  -H "Authorization: Bearer $DARI_ROUTING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dari/routing",
    "messages": [{"role": "user", "content": "Write a launch checklist."}]
  }'
See Chat Completions for the full request and response shape.

Product Resources

Routers

OpenAI-compatible endpoints that select from configured models per request.

Router API

Request and response shape for routed chat completions.