APIKeyInfo¶
- class baseten.client.managementapi.APIKeyInfo(*, prefix, name=None, type, model_ids=None, team_name=None, created_at, expires_at=None, last_used_at=None, owner=None)¶
Bases:
BaseModel- Parameters:
prefix (str)
name (str | None)
type (Literal['PERSONAL', 'GRID', 'WORKSPACE_MANAGE_ALL', 'WORKSPACE_EXPORT_METRICS', 'WORKSPACE_INVOKE', 'WORKSPACE_MANAGE_API_KEYS'] | str)
team_name (str | None)
created_at (AwareDatetime)
expires_at (AwareDatetime | None)
last_used_at (AwareDatetime | None)
owner (APIKeyOwner | None)
- model_config = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].