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"
Replaces the entire target. Omit to keep the current target; null is not accepted.
- RouteTargetBasetenModelAPIV1
- RouteTargetAnthropicV1
- RouteTargetOpenAIV1
- RouteTargetXAIV1
- RouteTargetVertexV1
- RouteTargetOpenAICompatibleV1
Response
Stable route identifier.
Immutable 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
- RouteTargetVertexV1
- RouteTargetOpenAICompatibleV1
Base URL for inference requests using this route.
Creation time, ISO 8601.