Skip to main content
POST
string
required
Bearer plus a Routing API key.
string
required
Must be dari/routing.
number
required
Maximum output tokens.
array
required
Anthropic Messages input objects.
string | array
System instructions.
boolean
Stream with Server-Sent Events.
array
Anthropic tool definitions.
object
Enable Anthropic extended thinking when the selected model supports it.
The response follows the Anthropic Messages shape. The selected model and reasoning effort are included in the dari_routing metadata returned with the message. The /v1 endpoint uses your organization’s default router; use https://routing.dari.dev/{router_id}/messages for a specific router.