List routes

:::callout amber Not available yet. The management API is documented ahead of its implementation — the request and response shapes below are a stable contract we're committing to, but calling these endpoints today returns 404. Manage routing rules in the dashboard in the meantime. The live gateway endpoints today are POST /v1/chat/completions, POST /v1/embeddings and GET /v1/models. :::

Return every routing rule belonging to the authenticated organisation, sorted by priority descending.

GET /v1/routes Coming soon
https://api.routeur.ai

Query parameters

enabled boolean optional
Restrict the result to only enabled (or only disabled) rules.
limit integer optional · default 50, max 200
Maximum number of rules to return.

Returns

An object with data (array of Route objects) and has_more (boolean).