Update a model route
PUT/api/v1/model-routes/:route_id
Updates a model route's name, targets, retry classes, or breaker configuration. Omitted fields are left unchanged.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 413
- 429
- 500
Model route updated successfully
Bad request
Unauthorized
Forbidden
Model route not found
A model route with this name already exists in the project
REQUEST_REJECTED — the request body is over the size the body parser accepts
QUOTA_EXCEEDED — a requests quota on the calling API key or its project is spent for the window; Retry-After says when it reopens
Response Headers
Retry-After
Seconds until the quota window admits a request again
Unexpected server error — INTERNAL_ERROR, with the raw message never forwarded