Update a route
Updates a route. Replaces the entire target when provided, and the route name and owning team are immutable.
Authorizations
Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.
Path Parameters
Body
New description. Omit to keep the current description; use an empty string to clear it. Null is not accepted.
1000"Assistant for code review and debugging."
New display label. Omit to keep the current label; null is not accepted.
1 - 255"Assistant"
Complete new target configuration. Omit to keep the current configuration; null is not accepted. Only the CLASSIFIER_MODEL_BASED configuration of a router route is mutable.
- RouteTargetConfigBasetenModelAPIV1
- RouteTargetConfigAnthropicV1
- RouteTargetConfigOpenAIV1
- RouteTargetConfigXAIV1
- RouteTargetConfigClassifierModelBasedV1
Response
Stable route identifier.
Name to send in the inference request's model field.
Identifier of the owning team.
Name of the owning team.
Display label, defaulting to the route name.
Short description of the route, empty when unset.
Configured upstream target.
- RouteTargetBasetenModelAPIV1
- RouteTargetAnthropicV1
- RouteTargetOpenAIV1
- RouteTargetXAIV1
- RouteTargetClassifierModelBasedV1
Resolved model metadata; for a router, the envelope of its allowed routes' metadata. Null when nothing is linked.
Base URL for inference requests using this route.
Creation time, ISO 8601.