AuditLogEntry¶
- class baseten.client.managementapi.AuditLogEntry(*, id, created, event_type, event_data, source=None, actor, client_name=None, client_version=None, client_session_id=None)¶
Bases:
BaseModel- Parameters:
id (str)
created (AwareDatetime)
event_type (AuditLogEventType)
event_data (AuditLogEventModelDeployed | AuditLogEventModelDeploymentActivated | AuditLogEventModelDeploymentDeactivated | AuditLogEventModelDeploymentRetried | AuditLogEventModelDeploymentPromoted | AuditLogEventModelDeploymentAutoscalingSettingsChanged | AuditLogEventModelDeploymentInstanceTypeChanged | AuditLogEventModelDeploymentDeleted | AuditLogEventModelDeleted | AuditLogEventChainDeployed | AuditLogEventChainDeploymentActivated | AuditLogEventChainDeploymentDeactivated | AuditLogEventChainDeploymentPromoted | AuditLogEventChainletAutoscalingSettingsChanged | AuditLogEventChainletInstanceTypeChanged | AuditLogEventChainDeploymentDeleted | AuditLogEventChainDeleted | AuditLogEventChainEnvironmentCreated | AuditLogEventChainEnvironmentUpdated | AuditLogEventSecretUpdated | AuditLogEventSecretDeleted | AuditLogEventApiKeyCreated | AuditLogEventApiKeyDeleted | AuditLogEventGatewayEndpointCreated | AuditLogEventGatewayEndpointUpdated | AuditLogEventGatewayEndpointDeleted | AuditLogEventUserInvited | AuditLogEventUserJoinedOrganization | AuditLogEventWebhookSigningSecretCreated | AuditLogEventWebhookSigningSecretRotated | AuditLogEventWebhookSigningSecretDeleted | AuditLogEventUserRoleUpdated | AuditLogEventUserTeamRoleUpdated | AuditLogEventUserRemoved | AuditLogEventDirectoryGroupRoleUpdated | AuditLogEventRequireGroupBasedAdminsEnabled | AuditLogEventEnvironmentCreated | AuditLogEventEnvironmentUpdated | AuditLogEventEnvironmentDeleted | AuditLogEventReplicaTerminated | AuditLogEventModelPromotionControlAction | AuditLogEventSshCertificateSigned)
source (AuditLogSource | None)
actor (AuditLogActor)
client_name (str | None)
client_version (str | None)
client_session_id (str | None)
- model_config = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].