GatewayKeyInfo

class baseten.client.managementapi.GatewayKeyInfo(*, prefix, name=None)

Bases: BaseModel

Parameters:
  • prefix (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Prefix', description='The prefix of the Model API key.')])

  • name (Annotated[str | None, FieldInfo(annotation=NoneType, required=True, title='Name', description='Optional display name.')])

model_config = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].