CreateGridRouteRequest¶
- class baseten.client.managementapi.CreateGridRouteRequest(*, team_id=None, display_name=None, target, description=None)¶
Bases:
BaseModel- Parameters:
team_id (TeamId5 | None)
display_name (DisplayName | None)
target (Annotated[Annotated[UpsertGridRouteTargetBasetenModelAPI | UpsertGridRouteTargetConnection | UpsertGridRouteTargetClassifier, FieldInfo(annotation=NoneType, required=True, title='Target', description="Upstream target for the route. CONNECTION targets use the provider and credentials of a connection owned by the route's team.", examples=[{'model': 'zai-org/GLM-5.3', 'type': 'BASETEN_MODEL_API'}], discriminator='type')] | dict[str, Any], _PydanticGeneralMetadata(union_mode='left_to_right')])
description (Description | None)
- model_config = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].