baseten.client.managementapiΒΆ

Generated client and models for the Baseten Management API.

Use ApiClient for synchronous access or AsyncApiClient for asynchronous access.

Types in this module are generated from the OpenAPI specification and are NOT covered by any stability or compatibility guarantees. They may change without notice between versions.

Classes

APIKey

APIKeyCategory

APIKeyInfo

APIKeyOwner

APIKeyTombstone

APIKeys

AWSCredentials

ActivateResponse

ActiveJobAtSubmit

ApiClient

Generated HTTP client for the Baseten API.

AsyncApiClient

Generated HTTP client for the Baseten API.

AuditLogActor

AuditLogActorType

AuditLogApiKeyType

AuditLogEntry

AuditLogEventApiKeyCreated

AuditLogEventApiKeyDeleted

AuditLogEventAutoscalingSettings

AuditLogEventChainDeleted

AuditLogEventChainDeployed

AuditLogEventChainDeploymentActivated

AuditLogEventChainDeploymentDeactivated

AuditLogEventChainDeploymentDeleted

AuditLogEventChainDeploymentPromoted

AuditLogEventChainEnvironmentCreated

AuditLogEventChainEnvironmentUpdated

AuditLogEventChainletAutoscalingSettingsChanged

AuditLogEventChainletInstanceTypeChanged

AuditLogEventDirectoryGroupRoleUpdated

AuditLogEventEnvironmentCreated

AuditLogEventEnvironmentDeleted

AuditLogEventEnvironmentUpdated

AuditLogEventGatewayEndpointCreated

AuditLogEventGatewayEndpointDeleted

AuditLogEventGatewayEndpointUpdated

AuditLogEventModelDeleted

AuditLogEventModelDeployed

AuditLogEventModelDeploymentActivated

AuditLogEventModelDeploymentAutoscalingSettingsChanged

AuditLogEventModelDeploymentDeactivated

AuditLogEventModelDeploymentDeleted

AuditLogEventModelDeploymentInstanceTypeChanged

AuditLogEventModelDeploymentPromoted

AuditLogEventModelDeploymentRetried

AuditLogEventModelPromotionControlAction

AuditLogEventReplicaTerminated

AuditLogEventRequireGroupBasedAdminsEnabled

AuditLogEventSecretDeleted

AuditLogEventSecretUpdated

AuditLogEventSshCertificateSigned

AuditLogEventType

AuditLogEventTypeGroup

AuditLogEventUserInvited

AuditLogEventUserJoinedOrganization

AuditLogEventUserRemoved

AuditLogEventUserRoleUpdated

AuditLogEventUserTeamRoleUpdated

AuditLogEventWebhookSigningSecretCreated

AuditLogEventWebhookSigningSecretDeleted

AuditLogEventWebhookSigningSecretRotated

AuditLogPromotionControlAction

AuditLogSortDirection

AuditLogSource

AuthCode

AutoscalingSettings

AwsIamDockerAuth

AwsOidcDockerAuth

BasetenLatestCheckpointConfig

BasetenNamedCheckpointConfig

BillableResource

CancelPromotionResponse

CancelPromotionStatus

CapacityAtSubmit

Chain

ChainDeployment

ChainDeploymentTombstone

ChainDeployments

ChainEnvironment

ChainMetadata

ChainTombstone

Chainlet

ChainletEnvironmentAutoscalingSettingsUpdate

ChainletEnvironmentInstanceTypeUpdate

ChainletEnvironmentSettings

ChainletEnvironmentSettingsRequest

Chains

CheckpointFile

CheckpointSyncStatus

Checkpoints

Component

ComputeCost

ComputeCost1

CostPerMillionInputTokens

CostPerMillionOutputTokens

CreateAPIKeyRequest

CreateApiKeyForGroupRequest

CreateApiKeyForGroupResponse

CreateChainEnvironmentRequest

CreateDeploymentPatchRequest

CreateDeploymentPatchResponse

CreateEndpointRequest

CreateEnvironmentRequest

CreateGroupRequest

CreateJobWeightConfig

CreateLLMModelRequest

CreateLLMModelVersionRequest

CreateLibraryListingRequest

CreateLibraryListingVersionRequest

CreateLoopsRunRequest

CreateLoopsRunResponse

CreateLoopsSamplerRequest

CreateLoopsSamplerResponse

CreateLoopsSessionResponse

CreateModelDeploymentRequest

CreateModelRequest

CreateModelWeightSnapshotRequest

CreateTrainingJob

CreateTrainingJobAccelerator

CreateTrainingJobCacheConfig

CreateTrainingJobCheckpointingConfig

CreateTrainingJobCompute

CreateTrainingJobImage

CreateTrainingJobRequest

CreateTrainingJobResponse

CreateTrainingJobRuntime

CreateTrainingJobS3Artifact

CreatedModelDeployment

CreditsUsed

DailyDedicatedUsage

DailyModelApiUsage

DailyTrainingUsage

DeactivateLoopsDeploymentResponse

DeactivateResponse

DedicatedItem

DedicatedUsage

Deployment

DeploymentArchivePayload

DeploymentArchiveSource

DeploymentConfigOutputFormat

DeploymentConfigResponse

DeploymentPatchAction

DeploymentPatchOpConfig

DeploymentPatchOpEnvVar

DeploymentPatchOpExternalData

DeploymentPatchOpModelCode

DeploymentPatchOpPackage

DeploymentPatchOpPythonRequirement

DeploymentPatchPoint

DeploymentPatchPointWithHash

DeploymentStatus

DeploymentTombstone

Deployments

DockerAuth

DockerAuthType

DownloadDeploymentResponse

DownloadTrainingJobResponse

EffectiveModelConfig

EffectiveRateLimit

EffectiveUsageLimit

Endpoint

EndpointTarget

EndpointTargetRequest

EndpointTombstone

EndpointsResponse

Environment

EnvironmentGroup

EnvironmentGroupManageAccess

EnvironmentGroupUser

EnvironmentGroups

Environments

FileSummary

GatewayKeyInfo

GatewayProvider

GcpOidcDockerAuth

GcpServiceAccountJsonDockerAuth

GetAuditLogsRequest

GetAuthCodesResponse

GetBillingUsageSummaryRequest

GetBlobCredentialsResponse

GetCacheSummaryResponse

GetChainsAuditLogsRequest

GetChainsDeploymentsChainletsLogsRequest

GetDeploymentLogsRequest

GetDeploymentPatchesStateResponse

GetLogsResponse

GetLoopsCapabilitiesResponse

GetLoopsCheckpointsRequest

GetLoopsDeploymentMetricsRequest

GetLoopsDeploymentMetricsResponse

GetLoopsDeploymentResponse

GetLoopsDeploymentsLogsRequest

GetLoopsRunResponse

GetLoopsRunsRequest

GetLoopsSamplerResponse

GetLoopsSessionResponse

GetLoopsUserConfigResponse

GetModelApisRequest

GetModelMetricsResponse

GetModelsAuditLogsRequest

GetModelsDeploymentsConfigRequest

GetModelsDeploymentsLogsRequest

GetModelsDeploymentsMetricsRequest

GetModelsDeploymentsRequest

GetModelsEnvironmentsLogsRequest

GetModelsEnvironmentsMetricsRequest

GetModelsRequest

GetTeamsModelsRequest

GetTeamsRequest

GetTrainingGpuCapacityResponse

GetTrainingJobCheckpointFilesResponse

GetTrainingJobCheckpointsResponse

GetTrainingJobLogsRequest

GetTrainingJobMetricsRequest

GetTrainingJobMetricsResponse

GetTrainingJobQueueContextResponse

GetTrainingJobResponse

GetTrainingProjectResponse

GetTrainingProjectsJobsCheckpointFilesRequest

GetTrainingProjectsJobsLogsRequest

GetTrainingProjectsJobsMetricsRequest

GetUsersRequest

GitInfo

Group

GroupHierarchy

GroupMetadata

GroupsResponse

InProgressPromotion

InProgressPromotionStatus

InferenceVolumeByStatusDatapoint

InstanceType

InstanceTypePrices

InstanceTypeWithPrice

InstanceTypes

InteractiveSession

InteractiveSessionConfig

KeysForGroupResponse

LLMModelHandle

LibraryListing

LibraryListingSource

LibraryListingTombstone

LibraryListingVersion

LibraryListingVersionTombstone

LibraryListingVersions

LibraryListings

Limit

LimitEnforcement

LimitType

ListAuditLogsResponse

ListLoopsCheckpointsResponse

ListLoopsDeploymentsResponse

ListLoopsRunsResponse

ListLoopsSamplersResponse

ListTrainingJobsResponse

ListTrainingProjectsResponse

LoadCheckpointConfig

Log

LogLevel

LoopsCheckpoint

LoopsCheckpointConfig

LoopsCheckpointFilesResponse

LoopsDeployment

LoopsDeploymentMetrics

LoopsDeploymentNodeMetrics

LoopsDeploymentStatus

LoopsRun

LoopsSampler

LoopsSamplerStatus

LoopsSession

LoopsUserConfig

MaxScaleDownRate

Model

ModelAPI

ModelAPIOrgDetails

ModelAPIsResponse

ModelApiItem

ModelApisUsage

ModelArchiveSource

ModelConfig

ModelMetricDescriptor

ModelMetricKind

ModelMetricMode

ModelMetricUnitHint

ModelMetricValueSet

ModelTombstone

ModelWeightSnapshot

Models

Name

Name1

Name2

OrderBy

PaginationResponse

PatchInteractiveSessionRequest

PatchInteractiveSessionResponse

PatchLoopsUserConfigRequest

PatchLoopsUserConfigResponse

PatchOps

PatchTeamTrainingGpuCapacityRequest

PatchTeamTrainingGpuCapacityResponse

PendingJobAheadAtSubmit

PrepareModelUploadRequest

PrepareModelUploadResponse

PromoteRequest

PromoteToChainEnvironmentRequest

PromoteToEnvironmentRequest

PromotionCleanupStrategy

PromotionSettings

QueueEvent

RateLimit

RateLimitUnit

RecreateTrainingJobResponse

RegisterAPIKeyRequest

RegisterAPIKeyResponse

RegistrySecretDockerAuth

Replica

RequestId

ResourceKind

ResponseTimeDatapoint

RetryDeploymentResponse

RollingDeployConfig

RollingDeployStrategy

SearchPattern

SearchTrainingJobsRequest

SearchTrainingJobsResponse

Secret

SecretReference

SecretTombstone

Secrets

SignSSHCertificateRequest

SignSSHCertificateResponse

SignalPromotionResponse

SortOrder

StopTrainingJobRequest

StopTrainingJobResponse

StorageMetrics

Subtotal

Subtotal3

Subtotal4

Subtotal5

Subtotal6

Subtotal7

Subtotal8

SupportedModel

SurchargeCost

SurchargeCost1

SyncDeploymentPatchesRequest

SyncDeploymentPatchesResponse

Target

Targets

Team

TeamTrainingGpuCapacityItem

Teams

TerminateReplicaResponse

Total

TrainerCheckpointTarget

TrainingGpuCapacityItem

TrainingItem

TrainingJob

TrainingJobCheckpoint

TrainingJobMetric

TrainingJobMetrics

TrainingJobNodeMetrics

TrainingJobTombstone

TrainingProject

TrainingProjectSummary

TrainingProjectTombstone

TrainingUsage

TrussUserEnv

UpdateAutoscalingSettings

UpdateAutoscalingSettingsResponse

UpdateAutoscalingSettingsStatus

UpdateChainEnvironmentRequest

UpdateChainEnvironmentResponse

UpdateChainletEnvironmentAutoscalingSettingsRequest

UpdateChainletEnvironmentInstanceTypeRequest

UpdateChainletEnvironmentInstanceTypeResponse

UpdateEndpointRequest

UpdateEnvironmentGroupManageAccess

UpdateEnvironmentGroupRequest

UpdateEnvironmentRequest

UpdateGroupMetadata

UpdateGroupRequest

UpdateLibraryListingRequest

UpdateLibraryListingVersionRequest

UpdatePromotionSettings

UpdateRollingDeployConfig

UpdateTrainingJobRequest

UpdateTrainingJobResponse

UpsertSecretRequest

UpsertTrainingProject

UpsertTrainingProjectRequest

UpsertTrainingProjectResponse

UsageLimit

UsageLimitUnit

UsageSummary

User

UserInfo

UsersResponse

V1AvailabilityModel

V1InteractiveSessionAuthProvider

V1InteractiveSessionProvider

V1InteractiveSessionTrigger

ValidateLoopsCheckpointRequest

ValidateLoopsCheckpointResponse

VertexTargetConfig