Replace a route

:::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. :::

Replace the entire rule definition. Any field omitted from the body is reset to its default. Use Update route for partial changes.

PUT /v1/routes/{id} Coming soon
https://api.routeur.ai

Path parameters

id string required
Route id, e.g. route_01J....

Returns

The replaced Route object with a fresh updated_at.