List traces

:::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 traces in the dashboard in the meantime. The live gateway endpoints today are POST /v1/chat/completions, POST /v1/embeddings and GET /v1/models. :::

Return trace records for the authenticated organisation in reverse chronological order. Use the cursor-style starting_after parameter to paginate.

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

Query parameters

limit integer optional · default 50, max 200
Maximum number of records to return.
starting_after string optional
Cursor — request_id from the previous page.
status integer optional
Restrict to a single HTTP status code, e.g. 200 or 403.
provider string optional
Restrict to a single upstream provider.

Returns

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