AuditLogEventApiKeyCreated

class baseten.client.managementapi.AuditLogEventApiKeyCreated(*, event_type, api_key_id, api_key_type, prefix)

Bases: BaseModel

Parameters:
  • event_type (Literal['API_KEY_CREATED'])

  • api_key_id (str)

  • api_key_type (Literal['PERSONAL', 'CREATOR_SERVICE_ACCOUNT', 'MANAGE_API_KEYS_SERVICE_ACCOUNT', 'INVOKE_ALL_MODELS_SERVICE_ACCOUNT', 'INVOKE_ALLOWED_MODELS_SERVICE_ACCOUNT', 'INVOKE_SCOPED_ENVS_AND_MODELS_SERVICE_ACCOUNT', 'EXPORT_METRICS_ALL_MODELS_SERVICE_ACCOUNT', 'EXPORT_METRICS_ALLOWED_MODELS_SERVICE_ACCOUNT', 'INVOKE_ALL_SHARED_ENDPOINTS_SERVICE_ACCOUNT', 'INVOKE_ALLOWED_SHARED_ENDPOINTS_SERVICE_ACCOUNT', 'INVOKE_ALL_ROUTES'] | str)

  • prefix (str)

model_config = {}

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