Skip to main content
The management Chat endpoint lets you test how a chat request would be routed through the Aria Compute ROUTER. It accepts the same request body as /v1/chat/completions and adds an optional dry_run flag. Use it to validate routing rules, inspect provider selection, and debug recipes without emitting downstream requests. This endpoint returns both the routing decision and, when not in dry-run mode, the downstream provider response.

Endpoint

Authentication

Authenticate with a session cookie or pass Authorization: Bearer <api-key>.

Request Body

string
required
Target model or virtual model name.
array
required
Conversation messages in standard chat-completion shape.
boolean
When true, the router computes the route decision without sending the request to the provider.
number
Sampling temperature.
integer
Maximum tokens to generate.

Response

object
Routing decision produced by the router.
object
Downstream provider response. Omitted when dry_run is true.