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

APIKeyInfo

APIKeyOwner

APIKeyTombstone

APIKeys

AWSCredentials

ActivateResponse

ActiveJobAtSubmit

ApiClient

Generated HTTP client for the Baseten API.

AsyncApiClient

Generated HTTP client for the Baseten API.

AuditLogActor

AuditLogEntry

AuditLogEventApiKeyCreated

AuditLogEventApiKeyDeleted

AuditLogEventApiKeyLifetimeLimitsUpdated

AuditLogEventAutoscalingScheduleChange

AuditLogEventAutoscalingScheduleOperations

AuditLogEventAutoscalingScheduleSettings

AuditLogEventAutoscalingScheduleUpsert

AuditLogEventAutoscalingSettings

AuditLogEventAutoscalingSettingsUpdate

AuditLogEventChainDeleted

AuditLogEventChainDeployed

AuditLogEventChainDeploymentActivated

AuditLogEventChainDeploymentDeactivated

AuditLogEventChainDeploymentDeleted

AuditLogEventChainDeploymentPromoted

AuditLogEventChainEnvironmentCreated

AuditLogEventChainEnvironmentUpdated

AuditLogEventChainletAutoscalingSettingsChanged

AuditLogEventChainletInstanceTypeChanged

AuditLogEventDirectoryGroupRoleUpdated

AuditLogEventEnvironmentCreated

AuditLogEventEnvironmentDeleted

AuditLogEventEnvironmentSettings

AuditLogEventEnvironmentUpdated

AuditLogEventGatewayEndpointCreated

AuditLogEventGatewayEndpointDeleted

AuditLogEventGatewayEndpointUpdated

AuditLogEventGridMachineUserCreated

AuditLogEventGridMachineUserDeleted

AuditLogEventGridMachineUserUpdated

AuditLogEventModelDeleted

AuditLogEventModelDeployed

AuditLogEventModelDeploymentActivated

AuditLogEventModelDeploymentAutoscalingSettingsChanged

AuditLogEventModelDeploymentDeactivated

AuditLogEventModelDeploymentDeleted

AuditLogEventModelDeploymentInstanceTypeChanged

AuditLogEventModelDeploymentPromoted

AuditLogEventModelDeploymentRequestBackpressureSettingsChanged

AuditLogEventModelDeploymentRetried

AuditLogEventModelPromotionControlAction

AuditLogEventModelRenamed

AuditLogEventPromotionSettingsOverride

AuditLogEventProviderConnectionCreated

AuditLogEventProviderConnectionDeleted

AuditLogEventProviderConnectionUpdated

AuditLogEventReplicaTerminated

AuditLogEventRequestBackpressureSettingsUpdate

AuditLogEventRequireGroupBasedAdminsEnabled

AuditLogEventSecretDeleted

AuditLogEventSecretUpdated

AuditLogEventSshCertificateSigned

AuditLogEventTelemetryExportCreated

AuditLogEventTelemetryExportDeleted

AuditLogEventTelemetryExportUpdated

AuditLogEventUserInvited

AuditLogEventUserJoinedOrganization

AuditLogEventUserRemoved

AuditLogEventUserRoleUpdated

AuditLogEventUserTeamRoleUpdated

AuditLogEventVolumeDeleted

AuditLogEventVolumeTagDeleted

AuditLogEventVolumeTagSet

AuditLogEventVolumeUpdated

AuditLogEventVolumeVersionDeleted

AuditLogEventVolumeVersionRestored

AuditLogEventWebhookSigningSecretCreated

AuditLogEventWebhookSigningSecretDeleted

AuditLogEventWebhookSigningSecretRotated

AuthCode

AuthSecretName

AutoscalingSchedule

AutoscalingScheduleSettings

AutoscalingScheduleSettingsRequest

AutoscalingScheduleState

AutoscalingScheduleUpsert

AutoscalingSettings

AwsAssumeRole

AwsAssumeRoleDockerAuth

AwsIamDockerAuth

AwsOidcDockerAuth

Background

BasetenLatestCheckpointConfig

BasetenNamedCheckpointConfig

BenchmarkSnapshot

BillableResource

CancelPromotionResponse

CapacityAtSubmit

Chain

ChainDeployment

ChainDeploymentTombstone

ChainDeployments

ChainEnvironment

ChainMetadata

ChainTombstone

Chainlet

ChainletEnvironmentAutoscalingSettingsUpdate

ChainletEnvironmentInstanceTypeUpdate

ChainletEnvironmentSettings

ChainletEnvironmentSettingsRequest

Chains

CheckpointFile

CleanupImagesParams

CleanupSandboxImagesResponse

Component

ComputeCost

ComputeCost1

CorrelationId

CostPerMillionCachedInputTokens

CostPerMillionInputTokens

CostPerMillionInputTokens1

CostPerMillionOutputTokens

CostPerMillionOutputTokens1

CreateAPIKeyRequest

CreateApiKeyForGroupRequest

CreateApiKeyForGroupResponse

CreateChainEnvironmentRequest

CreateDeploymentPatchRequest

CreateDeploymentPatchResponse

CreateEndpointRequest

CreateEnvironmentRequest

CreateGridConnectionRequest

CreateGridMachineUserAPIKeyRequest

CreateGridMachineUserRequest

CreateGridRouteRequest

CreateGridTokenRequest

CreateGroupHierarchy

CreateGroupRequest

CreateJobWeightConfig

CreateLLMModelRequest

CreateLLMModelVersionRequest

CreateLibraryListingRequest

CreateLibraryListingVersionRequest

CreateLoopsRunRequest

CreateLoopsRunResponse

CreateLoopsSamplerRequest

CreateLoopsSamplerResponse

CreateLoopsSessionResponse

CreateLoopsTrainerRequest

CreateModelDeploymentRequest

CreateModelRequest

CreateSandboxParams

CreateSandboxPreviewParams

CreateSandboxPreviewRequest

CreateSandboxPreviewTokenParams

CreateSandboxPreviewTokenRequest

CreateSandboxRequest

CreateSandboxVolumeParams

CreateSandboxVolumeRequest

CreateTokenRequest

CreateTrainingJob

CreateTrainingJobAccelerator

CreateTrainingJobCacheConfig

CreateTrainingJobCheckpointingConfig

CreateTrainingJobCompute

CreateTrainingJobImage

CreateTrainingJobRequest

CreateTrainingJobResponse

CreateTrainingJobRuntime

CreateTrainingJobS3Artifact

CreateVolumeSyncRequest

CreateVolumeTokenRequest

CreateVolumeTokenResponse

CreatedGridMachineUser

CreatedModelDeployment

CreditsUsed

DailyDedicatedUsage

DailyLoopsUsage

DailyModelApiUsage

DailyTrainingUsage

DeactivateLoopsDeploymentResponse

DeactivateLoopsRunResponse

DeactivateLoopsSamplerResponse

DeactivateResponse

DedicatedItem

DedicatedUsage

DeleteImageParams

DeleteImageTagParams

DeleteSandboxParams

DeleteSandboxPreviewParams

DeleteSandboxPreviewTokenParams

DeleteSandboxVolumeParams

DeleteVolumeRequest

DeleteVolumeResponse

DeleteVolumeTagRequest

DeleteVolumeTagResponse

DeleteVolumeVersionRequest

DeleteVolumeVersionResponse

DeployLoopsCheckpointRequest

DeployLoopsCheckpointResponse

Deployment

DeploymentArchivePayload

DeploymentArchiveSource

DeploymentConfigResponse

DeploymentPatchOpConfig

DeploymentPatchOpEnvVar

DeploymentPatchOpExternalData

DeploymentPatchOpModelCode

DeploymentPatchOpPackage

DeploymentPatchOpPythonRequirement

DeploymentPatchPoint

DeploymentPatchPointWithHash

DeploymentTombstone

Deployments

Description

Description1

DisplayName

DisplayName1

DockerAuth

DownloadDeploymentResponse

DownloadTrainingJobResponse

EffectiveModelConfig

EffectiveRateLimit

EffectiveUsageLimit

EgressRestrictions

EmbeddingBenchmarkMetrics

EnablementDetails

Endpoint

EndpointTarget

EndpointTargetRequest

EndpointTombstone

EndpointsResponse

Environment

EnvironmentAutoscalingSchedules

EnvironmentGroup

EnvironmentGroupManageAccess

EnvironmentGroupUser

EnvironmentGroups

EnvironmentTombstone

EnvironmentTrafficRouting

Environments

ExpectedSequence

ExpectedSequence1

ExpectedSequence2

ExpectedSequence3

ExpectedSequence4

ExpectedSequence5

ExploreCost

ExploreCostValues

ExploreMetadata

ExploreMetadataAPIFormats

ExploreMetadataResponse

FileSummary

GatewayEvent

GatewayEventTokens

GatewayEventsResponse

GatewayKeyInfo

GcpOidcDockerAuth

GcpServiceAccountJsonDockerAuth

GetApiKeysParams

GetAuditLogsParams

GetAuthCodesResponse

GetBillingModelApisParams

GetBillingToolCallUsageParams

GetBillingUsageSummaryParams

GetBlobCredentialsResponse

GetCacheSummaryResponse

GetChainsAuditLogsParams

GetChainsDeploymentsChainletsLogsParams

GetDeploymentLogsRequest

GetDeploymentPatchesStateResponse

GetExploreMetadataParams

GetGatewayEventsParams

GetGridClassifiersParams

GetGridConnectionsParams

GetGridMachineUsersParams

GetGridRouteClassifiersParams

GetGridRoutesParams

GetGridRoutesUsageParams

GetGridTeamSettingsParams

GetGridTeamSettingsUsersParams

GetGridTeamSettingsUsersUserIdParams

GetImageBuildLogsParams

GetImageParams

GetLogsResponse

GetLoopsCapabilitiesParams

GetLoopsCapabilitiesResponse

GetLoopsCheckpointsFilesParams

GetLoopsCheckpointsParams

GetLoopsDeploymentMetricsRequest

GetLoopsDeploymentMetricsResponse

GetLoopsDeploymentResponse

GetLoopsDeploymentsDebugArchiveFilesParams

GetLoopsDeploymentsLogsParams

GetLoopsDeploymentsParams

GetLoopsRunResponse

GetLoopsRunsParams

GetLoopsSamplerResponse

GetLoopsSamplersParams

GetLoopsSessionResponse

GetLoopsUserConfigResponse

GetMetricsResponse

GetModelApisMetricsParams

GetModelApisModelApiNameParams

GetModelApisParams

GetModelApisUsageParams

GetModelsAuditLogsParams

GetModelsDeploymentsConfigParams

GetModelsDeploymentsLogsParams

GetModelsDeploymentsMetricsParams

GetModelsDeploymentsParams

GetModelsDeploymentsStartupsParams

GetModelsDeploymentsStartupsSummaryParams

GetModelsEnvironmentsLogsParams

GetModelsEnvironmentsMetricsParams

GetModelsEnvironmentsStartupsParams

GetModelsEnvironmentsStartupsSummaryParams

GetModelsParams

GetSandboxConfigurationResponse

GetSandboxLogsParams

GetSandboxMetricsParams

GetSandboxParams

GetSandboxPreviewParams

GetSandboxVolumeParams

GetTeamsLoopsRunsParams

GetTeamsLoopsSamplersParams

GetTeamsModelsParams

GetTeamsParams

GetTrainingGpuCapacityResponse

GetTrainingJobCheckpointFilesResponse

GetTrainingJobCheckpointsResponse

GetTrainingJobLogsRequest

GetTrainingJobMetricsRequest

GetTrainingJobMetricsResponse

GetTrainingJobQueueContextResponse

GetTrainingJobResponse

GetTrainingProjectResponse

GetTrainingProjectsJobsCheckpointFilesParams

GetTrainingProjectsJobsLogsParams

GetTrainingProjectsJobsMetricsParams

GetTrainingProjectsParams

GetUsersParams

GetVolumesNamespacesParams

GetVolumesParams

GetVolumesSyncsParams

GetVolumesVersionsParams

GitInfo

GridClassifier

GridClassifiersResponse

GridConnection

GridConnectionBedrockAccessKeysAuth

GridConnectionBedrockApiKeyAuth

GridConnectionConfigAnthropic

GridConnectionConfigBedrock

GridConnectionConfigOpenAI

GridConnectionConfigVertex

GridConnectionConfigXAI

GridConnectionTombstone

GridConnectionsResponse

GridEffectiveSpendLimit

GridHarnessDefaults

GridHarnessModel

GridHarnessModels

GridMachineUser

GridMachineUserTombstone

GridMachineUsersResponse

GridRoute

GridRouteClassifier

GridRouteClassifiersResponse

GridRouteRef

GridRouteTargetBasetenModelAPI

GridRouteTargetClassifier

GridRouteTargetConnection

GridRouteTargetIntelligent

GridRouteTombstone

GridRouteUsageBucket

GridRouteUsageResponse

GridRouteUsageResult

GridRoutesResponse

GridSpendLimitSetting

GridSpendLimitTeamDefault

GridTeamSettings

GridTeamSpendLimitSetting

GridTeamUserSettings

GridTeamUserSettingsList

GridToken

Group

GroupHierarchy

GroupMetadata

GroupsResponse

InProgressPromotion

InferenceVolumeByStatusDatapoint

InstanceType

InstanceTypePrices

InstanceTypeWithPrice

InstanceTypes

InteractiveSession

InteractiveSessionConfig

KeysForGroupResponse

LLMBenchmarkMetrics

LLMModelHandle

LLMRuntime

LibraryListing

LibraryListingMetadata

LibraryListingSource

LibraryListingTombstone

LibraryListingVersion

LibraryListingVersionTombstone

LibraryListingVersions

LibraryListings

Limit

Limit3

Limit4

Limit6

Limit7

ListAuditLogsResponse

ListImageTagsParams

ListImagesParams

ListLoopsCheckpointsResponse

ListLoopsDeploymentsResponse

ListLoopsRunsResponse

ListLoopsSamplersResponse

ListSandboxImageTagsResponse

ListSandboxImagesResponse

ListSandboxLibraryImagesResponse

ListSandboxPreviewTokensParams

ListSandboxPreviewTokensResponse

ListSandboxPreviewsParams

ListSandboxPreviewsResponse

ListSandboxVolumesParams

ListSandboxVolumesResponse

ListSandboxesParams

ListSandboxesResponse

ListTrainingJobsResponse

ListTrainingProjectsResponse

ListVolumeNamespacesResponse

ListVolumeVersionsResponse

ListVolumesResponse

LoadCheckpointConfig

Log

LoopsBaseModelItem

LoopsCheckpoint

LoopsCheckpointConfig

LoopsCheckpointFilesResponse

LoopsCheckpointS3Source

LoopsCheckpointSourceResponse

LoopsCheckpointVolumeSource

LoopsDebugArchiveFilesResponse

LoopsDeployment

LoopsDeploymentMetrics

LoopsDeploymentNodeMetrics

LoopsDeploymentStatus

LoopsLoRAConfig

LoopsMeterUsage

LoopsResourceItem

LoopsRun

LoopsRunStatus

LoopsSampler

LoopsSamplerStatus

LoopsSession

LoopsUsage

LoopsUserConfig

MaxScaleDownRate

MaxScaleDownRate1

MaxSeqLen

MetricDescriptor

MetricValueSet

MinDurationMs

Model

ModelAPI

ModelAPIOrgDetails

ModelAPIRateLimit

ModelAPITeamDetails

ModelAPIsResponse

ModelApiItem

ModelApisCostBucket

ModelApisCostResult

ModelApisCostsResponse

ModelApisUsage

ModelApisUsageBucket

ModelApisUsageResponse

ModelApisUsageResult

ModelArchiveSource

ModelConfig

ModelPromotionSettings

ModelTombstone

Models

Name1

Name2

Name3

Name5

Name6

Name7

NumReplicas

OneTimeAutoscalingSchedule

OneTimeAutoscalingScheduleUpsert

OrderBy

OrganizationInfo

PaginationResponse

PatchInteractiveSessionRequest

PatchInteractiveSessionResponse

PatchLoopsUserConfigRequest

PatchLoopsUserConfigResponse

PatchTeamTrainingGpuCapacityRequest

PatchTeamTrainingGpuCapacityResponse

PatchVolumeRequest

PatchVolumeResponse

PendingJobAheadAtSubmit

PrepareModelUploadRequest

PrepareModelUploadResponse

Primary

PromoteRequest

PromoteToChainEnvironmentRequest

PromoteToEnvironmentRequest

PromotionEnvironmentSettingsUpdate

PromotionSettings

PushImageParams

PushSandboxImageRequest

PushSandboxImageResponse

QueueEvent

RateLimit

RecreateTrainingJobResponse

Region

Regions

RegisterAPIKeyRequest

RegisterAPIKeyResponse

RegistrySecretDockerAuth

Replica

RequestBackpressureSettings

RequestId

ResponseTimeDatapoint

RestoreVolumeVersionRequest

RestoreVolumeVersionResponse

RetryDeploymentResponse

RollingDeployConfig

RuntimeOidc

SamplerNumReplicas

Sandbox

SandboxApiPagination

SandboxConfiguration

SandboxDateExpirationPolicy

SandboxEnv

SandboxFilesystem

SandboxImage

SandboxImageBuildLog

SandboxImageBuildLogsResponse

SandboxImageTag

SandboxLibraryImage

SandboxLibraryImageCreationOptions

SandboxLibraryImageVolume

SandboxLifecycle

SandboxLogEntry

SandboxLogs

SandboxMetricDescriptor

SandboxMetricValueSet

SandboxMetrics

SandboxPort

SandboxPreview

SandboxPreviewConfiguration

SandboxPreviewToken

SandboxRegion

SandboxTTLIdleExpirationPolicy

SandboxTTLMaxAgeExpirationPolicy

SandboxVolume

SandboxVolumeAttachment

SearchPattern

SearchTrainingJobsRequest

SearchTrainingJobsResponse

Secret

SecretReference

SecretTombstone

Secrets

SetVolumeTagRequest

SetVolumeTagResponse

SignSSHCertificateRequest

SignSSHCertificateResponse

SignalPromotionResponse

StartupAttempt

StartupAttempts

StartupPercentiles

StartupPhasePercentiles

StartupPhaseSummary

StartupSummary

StatusItem

StopTrainingJobRequest

StopTrainingJobResponse

StorageMetrics

Subtotal

Subtotal1

Subtotal10

Subtotal11

Subtotal12

Subtotal13

Subtotal2

Subtotal4

Subtotal5

Subtotal6

Subtotal7

Subtotal8

Subtotal9

SupportedModel

SurchargeCost

SurchargeCost1

SyncDeploymentPatchesRequest

SyncDeploymentPatchesResponse

TTSBenchmarkMetrics

Targets

Team

TeamId

TeamId1

TeamId2

TeamId3

TeamId4

TeamId5

TeamId6

TeamId7

TeamTrainingGpuCapacityItem

Teams

TerminateReplicaResponse

Token

ToolCallUsageBucket

ToolCallUsageResponse

Total

TrafficRoutingRule

TrafficRoutingRuleUpsert

TrafficRoutingTarget

TrafficRoutingTargetUpsert

TrainingGpuCapacityItem

TrainingItem

TrainingJob

TrainingJobCheckpoint

TrainingJobMetric

TrainingJobMetrics

TrainingJobNodeMetrics

TrainingJobTombstone

TrainingProject

TrainingProjectSummary

TrainingProjectTombstone

TrainingUsage

TrainingWeightAuth

TrussUserEnv

UpdateAutoscalingScheduleSettings

UpdateAutoscalingSettings

UpdateAutoscalingSettingsResponse

UpdateChainEnvironmentRequest

UpdateChainEnvironmentResponse

UpdateChainletEnvironmentAutoscalingSettingsRequest

UpdateChainletEnvironmentInstanceTypeRequest

UpdateChainletEnvironmentInstanceTypeResponse

UpdateDeploymentRequest

UpdateEndpointRequest

UpdateEnvironmentGroupManageAccess

UpdateEnvironmentGroupRequest

UpdateEnvironmentRequest

UpdateEnvironmentResponse

UpdateGridConnectionRequest

UpdateGridHarnessDefaults

UpdateGridHarnessModels

UpdateGridMachineUserRequest

UpdateGridRouteRequest

UpdateGridSpendLimitSetting

UpdateGridTeamSettingsRequest

UpdateGridTeamSpendLimitSetting

UpdateGridUserSettingsRequest

UpdateGroupMetadata

UpdateGroupRequest

UpdateLibraryListingRequest

UpdateLibraryListingVersionRequest

UpdateModelPromotionSettings

UpdateModelRequest

UpdatePromotionSettings

UpdateRequestBackpressureSettings

UpdateRollingDeployConfig

UpdateSandboxParams

UpdateSandboxPreviewParams

UpdateSandboxPreviewRequest

UpdateSandboxRequest

UpdateSandboxVolumeParams

UpdateSandboxVolumeRequest

UpdateTrafficRoutingSettings

UpdateTrainingJobRequest

UpdateTrainingJobResponse

UpsertGridConnectionBedrockAccessKeysAuth

UpsertGridConnectionBedrockApiKeyAuth

UpsertGridConnectionConfigAnthropic

UpsertGridConnectionConfigBedrock

UpsertGridConnectionConfigOpenAI

UpsertGridConnectionConfigVertex

UpsertGridConnectionConfigXAI

UpsertGridRouteTargetBasetenModelAPI

UpsertGridRouteTargetClassifier

UpsertGridRouteTargetConnection

UpsertSecretRequest

UpsertTrainingProject

UpsertTrainingProjectRequest

UpsertTrainingProjectResponse

UsageLimit

UsageSummary

User

UserInfo

UsersResponse

ValidateLoopsCheckpointRequest

ValidateLoopsCheckpointResponse

Value

VertexTargetConfig

Volume

VolumeSync

VolumeSyncAuthenticationAWSAssumeRole

VolumeSyncAuthenticationAWSOIDC

VolumeSyncAuthenticationGCPOIDC

VolumeSyncAuthenticationHuggingFaceOIDC

VolumeSyncDestination

VolumeSyncError

VolumeSyncSourceAzure

VolumeSyncSourceBasetenTraining

VolumeSyncSourceCoreWeave

VolumeSyncSourceGCS

VolumeSyncSourceHuggingFace

VolumeSyncSourceR2

VolumeSyncSourceS3

VolumeSyncs

VolumeTag

VolumeVersion

VolumeVersionDetail

VolumeVersionSummary