Skip to main content
Test how a chat request routes through the Aria Compute ROUTER. The body matches /v1/chat/completions, plus an optional dry_run flag. Use it to validate routing rules, inspect provider selection, and debug recipes without sending downstream requests. Returns the routing decision, and the downstream provider response when dry_run is false.

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.