ApiClient

class baseten.client.managementapi.ApiClient(http_client)

Bases: object

Generated HTTP client for the Baseten API.

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

Parameters:

http_client (httpx.Client)

delete_api_keys(*, api_key_prefix)

Deletes an API key by prefix

Parameters:

api_key_prefix (str)

Return type:

APIKeyTombstone

delete_chains(*, chain_id)

Deletes a chain by ID

Parameters:

chain_id (str)

Return type:

ChainTombstone

delete_chains_deployments(*, chain_id, chain_deployment_id)

Deletes a chain deployment by ID

Parameters:
  • chain_id (str)

  • chain_deployment_id (str)

Return type:

ChainDeploymentTombstone

delete_gateway_endpoints(*, endpoint_id)

Deletes a Gateway endpoint

Parameters:

endpoint_id (str)

Return type:

EndpointTombstone

delete_library_listings(*, user_defined_listing_id)

Deletes a library listing

Parameters:

user_defined_listing_id (str)

Return type:

LibraryListingTombstone

delete_library_listings_versions(*, user_defined_listing_id, version_tag)

Deletes a library listing version

Parameters:
  • user_defined_listing_id (str)

  • version_tag (str)

Return type:

LibraryListingVersionTombstone

delete_models(*, model_id)

Deletes a model by ID

Parameters:

model_id (str)

Return type:

ModelTombstone

delete_models_deployments(*, model_id, deployment_id)

Deletes a model’s deployment by ID

Parameters:
  • model_id (str)

  • deployment_id (str)

Return type:

DeploymentTombstone

delete_models_deployments_replicas(*, model_id, deployment_id, replica_id)

Terminates a replica in a deployment

Parameters:
  • model_id (str)

  • deployment_id (str)

  • replica_id (str)

Return type:

TerminateReplicaResponse

delete_secrets(*, secret_name)

Deletes a secret by name

Parameters:

secret_name (str)

Return type:

SecretTombstone

delete_teams_secrets(*, team_id, secret_name)

Deletes a secret by name

Parameters:
  • team_id (str)

  • secret_name (str)

Return type:

SecretTombstone

delete_training_projects(*, training_project_id)

Deletes a training project

Parameters:

training_project_id (str)

Return type:

TrainingProjectTombstone

delete_training_projects_jobs(*, training_project_id, training_job_id)

Deletes a training job

Parameters:
  • training_project_id (str)

  • training_job_id (str)

Return type:

TrainingJobTombstone

get_api_keys()

Lists API keys (metadata only, no plain text keys)

Return type:

APIKeys

get_audit_logs(*, request=None)

Gets the audit log for the workspace

Parameters:

request (GetAuditLogsRequest | None)

Return type:

ListAuditLogsResponse

get_billing_usage_summary(*, request)

Gets billing usage summary for a date range

Parameters:

request (GetBillingUsageSummaryRequest)

Return type:

UsageSummary

get_blobs_credentials_model()

Gets blob credentials for models

Return type:

GetBlobCredentialsResponse

get_blobs_credentials_train()

Gets blob credentials for training

Return type:

GetBlobCredentialsResponse

get_chains()

Gets all chains

Return type:

Chains

get_chains_audit_logs(*, chain_id, request=None)

Gets the audit log for a chain

Parameters:
Return type:

ListAuditLogsResponse

get_chains_chain_id(*, chain_id)

Gets a chain by ID

Parameters:

chain_id (str)

Return type:

Chain

get_chains_deployments(*, chain_id)

Gets all chain deployments

Parameters:

chain_id (str)

Return type:

ChainDeployments

get_chains_deployments_chain_deployment_id(*, chain_id, chain_deployment_id)

Gets a chain deployment by ID

Parameters:
  • chain_id (str)

  • chain_deployment_id (str)

Return type:

ChainDeployment

get_chains_deployments_chainlets_logs(*, chain_id, chain_deployment_id, chainlet_id, request=None)

Gets the logs for a chainlet within a chain deployment

Parameters:
Return type:

GetLogsResponse

get_chains_environments(*, chain_id)

Gets all chain environments

Parameters:

chain_id (str)

Return type:

Environments

get_chains_environments_env_name(*, chain_id, env_name)

Gets a chain environment’s details

Parameters:
  • chain_id (str)

  • env_name (str)

Return type:

ChainEnvironment

get_environment_groups()

Lists environment groups

Return type:

EnvironmentGroups

get_environment_groups_env_name(*, env_name)

Gets an environment group by name

Parameters:

env_name (str)

Return type:

EnvironmentGroup

get_gateway_endpoints()

Lists Gateway endpoints

Return type:

EndpointsResponse

get_gateway_endpoints_endpoint_id(*, endpoint_id)

Gets a Gateway endpoint

Parameters:

endpoint_id (str)

Return type:

Endpoint

get_gateway_groups()

Lists groups

Return type:

GroupsResponse

get_gateway_groups_api_keys(*, group_id)

Lists API keys for a group

Parameters:

group_id (str)

Return type:

KeysForGroupResponse

get_gateway_groups_api_keys_api_key_prefix(*, group_id, api_key_prefix)

Gets an API key for a group

Parameters:
  • group_id (str)

  • api_key_prefix (str)

Return type:

GatewayKeyInfo

get_gateway_groups_group_id(*, group_id)

Gets a group

Parameters:

group_id (str)

Return type:

Group

get_instance_type_prices()

Gets prices for available instance types

Return type:

InstanceTypePrices

get_instance_types()

Gets all available instance types

Return type:

InstanceTypes

get_library_listings()

Gets all library listings

Return type:

LibraryListings

get_library_listings_user_defined_listing_id(*, user_defined_listing_id)

Gets a library listing

Parameters:

user_defined_listing_id (str)

Return type:

LibraryListing

get_library_listings_versions(*, user_defined_listing_id)

Gets all versions for a library listing

Parameters:

user_defined_listing_id (str)

Return type:

LibraryListingVersions

get_library_listings_versions_version_tag(*, user_defined_listing_id, version_tag)

Gets a library listing version

Parameters:
  • user_defined_listing_id (str)

  • version_tag (str)

Return type:

LibraryListingVersion

get_loops_capabilities()

Gets Loops server capabilities

Return type:

GetLoopsCapabilitiesResponse

get_loops_checkpoints(*, request=None)

Lists Loops checkpoints

Parameters:

request (GetLoopsCheckpointsRequest | None)

Return type:

ListLoopsCheckpointsResponse

get_loops_checkpoints_files(*, checkpoint_id)

Gets Loops checkpoint files

Parameters:

checkpoint_id (str)

Return type:

LoopsCheckpointFilesResponse

get_loops_deployments()

Lists Loops deployments

Return type:

ListLoopsDeploymentsResponse

get_loops_deployments_deployment_id(*, deployment_id)

Gets a Loops deployment

Parameters:

deployment_id (str)

Return type:

GetLoopsDeploymentResponse

get_loops_deployments_logs(*, deployment_id, request=None)

Gets logs for a Loops trainer deployment

Parameters:
Return type:

GetLogsResponse

get_loops_runs(*, request=None)

Lists Loops runs

Parameters:

request (GetLoopsRunsRequest | None)

Return type:

ListLoopsRunsResponse

get_loops_runs_run_id(*, run_id)

Gets a Loops run

Parameters:

run_id (str)

Return type:

GetLoopsRunResponse

get_loops_samplers()

Lists Loops samplers

Return type:

ListLoopsSamplersResponse

get_loops_samplers_sampler_id(*, sampler_id)

Gets a Loops sampler

Parameters:

sampler_id (str)

Return type:

GetLoopsSamplerResponse

get_loops_sessions(*, session_id)

Gets a Loops session

Parameters:

session_id (str)

Return type:

GetLoopsSessionResponse

get_loops_user_config()

Gets the caller’s Loops user config

Return type:

GetLoopsUserConfigResponse

get_model_apis(*, request=None)

Lists Model APIs

Parameters:

request (GetModelApisRequest | None)

Return type:

ModelAPIsResponse

get_model_apis_model_api_name(*, model_api_name)

Gets a Model API

Parameters:

model_api_name (str)

Return type:

ModelAPI

get_model_apis_snapshots()

Gets the latest model weight snapshot

Return type:

ModelWeightSnapshot

get_model_apis_snapshots_model_id(*, model_id)

Gets the latest model weight snapshot

Parameters:

model_id (str)

Return type:

ModelWeightSnapshot

get_models(*, request=None)

Gets all models

Parameters:

request (GetModelsRequest | None)

Return type:

Models

get_models_audit_logs(*, model_id, request=None)

Gets the audit log for a model

Parameters:
Return type:

ListAuditLogsResponse

get_models_deployments(*, model_id, request=None)

Gets all deployments of a model

Parameters:
Return type:

Deployments

get_models_deployments_config(*, model_id, deployment_id, request=None)

Gets a deployment’s config

Parameters:
Return type:

DeploymentConfigResponse

get_models_deployments_deployment_id(*, model_id, deployment_id)

Gets a model’s deployment by ID

Parameters:
  • model_id (str)

  • deployment_id (str)

Return type:

Deployment

get_models_deployments_development(*, model_id)

Gets a model’s development deployment

Parameters:

model_id (str)

Return type:

Deployment

get_models_deployments_download(*, model_id, deployment_id)

Gets a presigned download URL for a deployment’s truss

Parameters:
  • model_id (str)

  • deployment_id (str)

Return type:

DownloadDeploymentResponse

get_models_deployments_logs(*, model_id, deployment_id, request=None)

Gets the logs for a model deployment

Parameters:
Return type:

GetLogsResponse

get_models_deployments_metrics(*, model_id, deployment_id, request=None)

Gets the metrics for a model deployment

Parameters:
Return type:

GetModelMetricsResponse

get_models_deployments_patches_state(*, model_id, deployment_id)

Gets a development deployment’s patch state

Parameters:
  • model_id (str)

  • deployment_id (str)

Return type:

GetDeploymentPatchesStateResponse

get_models_deployments_production(*, model_id)

Gets a model’s production deployment

Parameters:

model_id (str)

Return type:

Deployment

get_models_environments(*, model_id)

Gets all environments

Parameters:

model_id (str)

Return type:

Environments

get_models_environments_env_name(*, model_id, env_name)

Gets an environment’s details

Parameters:
  • model_id (str)

  • env_name (str)

Return type:

Environment

get_models_environments_logs(*, model_id, env_name, request=None)

Gets the logs for a model environment

Parameters:
Return type:

GetLogsResponse

get_models_environments_metrics(*, model_id, env_name, request=None)

Gets the metrics for a model environment.

Parameters:
Return type:

GetModelMetricsResponse

get_models_model_id(*, model_id)

Gets a model by ID

Parameters:

model_id (str)

Return type:

Model

get_secrets()

Gets all secrets (metadata only, no plain text keys)

Return type:

Secrets

get_teams(*, request=None)

Lists all teams

Parameters:

request (GetTeamsRequest | None)

Return type:

Teams

get_teams_environment_groups(*, team_id)

Lists environment groups

Parameters:

team_id (str)

Return type:

EnvironmentGroups

get_teams_environment_groups_env_name(*, team_id, env_name)

Gets an environment group by name

Parameters:
  • team_id (str)

  • env_name (str)

Return type:

EnvironmentGroup

get_teams_models(*, team_id, request=None)

Gets all models

Parameters:
Return type:

Models

get_teams_secrets(*, team_id)

Gets all secrets for a team (metadata only, no plain text keys)

Parameters:

team_id (str)

Return type:

Secrets

get_teams_team_id(*, team_id)

Gets a team by ID

Parameters:

team_id (str)

Return type:

Team

get_training_capacity()

Gets training GPU capacity

Return type:

GetTrainingGpuCapacityResponse

get_training_jobs_queue_context(*, training_job_id)

Reconstructs queue context for a training job

Parameters:

training_job_id (str)

Return type:

GetTrainingJobQueueContextResponse

get_training_projects()

Lists training projects

Return type:

ListTrainingProjectsResponse

get_training_projects_cache_summary(*, training_project_id)

Gets training project cache summary

Parameters:

training_project_id (str)

Return type:

GetCacheSummaryResponse

get_training_projects_jobs(*, training_project_id)

Lists training jobs

Parameters:

training_project_id (str)

Return type:

ListTrainingJobsResponse

get_training_projects_jobs_auth_codes(*, training_project_id, training_job_id)

Gets auth codes for a training job

Parameters:
  • training_project_id (str)

  • training_job_id (str)

Return type:

GetAuthCodesResponse

get_training_projects_jobs_checkpoint_files(*, training_project_id, training_job_id, request=None)

Gets training job checkpoint files

Parameters:
Return type:

GetTrainingJobCheckpointFilesResponse

get_training_projects_jobs_checkpoints(*, training_project_id, training_job_id)

Gets training job checkpoints

Parameters:
  • training_project_id (str)

  • training_job_id (str)

Return type:

GetTrainingJobCheckpointsResponse

get_training_projects_jobs_download(*, training_project_id, training_job_id)

Gets presigned URLs for a training job’s artifacts

Parameters:
  • training_project_id (str)

  • training_job_id (str)

Return type:

DownloadTrainingJobResponse

get_training_projects_jobs_logs(*, training_project_id, training_job_id, request=None)

Gets the logs for a training job

Parameters:
Return type:

GetLogsResponse

get_training_projects_jobs_metrics(*, training_project_id, training_job_id, request=None)

Gets the metrics for a training job

Parameters:
Return type:

GetTrainingJobMetricsResponse

get_training_projects_jobs_training_job_id(*, training_project_id, training_job_id)

Gets a training job

Parameters:
  • training_project_id (str)

  • training_job_id (str)

Return type:

GetTrainingJobResponse

get_training_projects_training_project_id(*, training_project_id)

Gets a training project

Parameters:

training_project_id (str)

Return type:

GetTrainingProjectResponse

get_users(*, request=None)

Lists users in the workspace

Parameters:

request (GetUsersRequest | None)

Return type:

UsersResponse

get_users_me()

Gets the authenticated user

Return type:

UserInfo

get_users_user_id(*, user_id)

Gets a user by ID

Parameters:

user_id (str)

Return type:

UserInfo

patch_chains_environments(*, chain_id, env_name, request)

Updates a chain environment’s settings

Parameters:
Return type:

UpdateChainEnvironmentResponse

patch_chains_environments_chainlet_settings_autoscaling_settings(*, chain_id, env_name, request)

Updates a chainlet environment’s autoscaling settings

Parameters:
Return type:

UpdateAutoscalingSettingsResponse

patch_environment_groups(*, env_name, request)

Updates an environment group’s restriction settings

Parameters:
Return type:

EnvironmentGroup

patch_gateway_endpoints(*, endpoint_id, request)

Updates a Gateway endpoint

Parameters:
Return type:

Endpoint

patch_gateway_groups(*, group_id, request)

Updates a group

Parameters:
Return type:

Group

patch_library_listings(*, user_defined_listing_id, request)

Updates a library listing

Parameters:
Return type:

LibraryListing

patch_library_listings_versions(*, user_defined_listing_id, version_tag, request)

Updates a library listing version

Parameters:
Return type:

LibraryListingVersion

patch_loops_user_config(*, request)

Patches the caller’s Loops user config

Parameters:

request (PatchLoopsUserConfigRequest)

Return type:

PatchLoopsUserConfigResponse

patch_models_deployments_autoscaling_settings(*, model_id, deployment_id, request)

Updates a deployment’s autoscaling settings

Parameters:
Return type:

UpdateAutoscalingSettingsResponse

patch_models_deployments_development_autoscaling_settings(*, model_id, request)

Updates a development deployment’s autoscaling settings

Parameters:
Return type:

UpdateAutoscalingSettingsResponse

patch_models_deployments_production_autoscaling_settings(*, model_id, request)

Updates a production deployment’s autoscaling settings

Parameters:
Return type:

UpdateAutoscalingSettingsResponse

patch_models_environments(*, model_id, env_name, request)

Updates an environment’s settings

Parameters:
Return type:

UpdateAutoscalingSettingsResponse

patch_teams_environment_groups(*, team_id, env_name, request)

Updates an environment group’s restriction settings

Parameters:
Return type:

EnvironmentGroup

patch_training_capacity(*, request)

Sets a team’s training GPU capacity

Parameters:

request (PatchTeamTrainingGpuCapacityRequest)

Return type:

PatchTeamTrainingGpuCapacityResponse

patch_training_projects_jobs(*, training_project_id, training_job_id, request)

Updates a training job

Parameters:
Return type:

UpdateTrainingJobResponse

patch_training_projects_jobs_interactive_sessions(*, training_project_id, training_job_id, session_id, request)

Patches an interactive session

Parameters:
Return type:

PatchInteractiveSessionResponse

post_api_keys(*, request)

Creates an API key

Parameters:

request (CreateAPIKeyRequest)

Return type:

APIKey

post_chains_deployments_deactivate(*, chain_id, chain_deployment_id)

Deactivates a chain deployment

Parameters:
  • chain_id (str)

  • chain_deployment_id (str)

Return type:

DeactivateResponse

post_chains_environments(*, chain_id, request)

Creates a chain environment

Parameters:
Return type:

ChainEnvironment

post_chains_environments_chainlet_settings_instance_types_update(*, chain_id, env_name, request)

Updates a chainlet environment’s instance type settings

Parameters:
Return type:

UpdateChainletEnvironmentInstanceTypeResponse

post_chains_environments_promote(*, chain_id, env_name, request)

Promotes a chain deployment to an environment

Parameters:
Return type:

ChainDeployment

post_gateway_endpoints(*, request)

Creates a Gateway endpoint

Parameters:

request (CreateEndpointRequest)

Return type:

Endpoint

post_gateway_groups(*, request)

Creates a group

Parameters:

request (CreateGroupRequest)

Return type:

Group

post_gateway_groups_api_keys(*, group_id, request)

Creates an API key for a group

Parameters:
Return type:

CreateApiKeyForGroupResponse

post_gateway_groups_api_keys_register(*, group_id, request)

Registers an API key for a group

Parameters:
Return type:

RegisterAPIKeyResponse

post_library_listings(*, request)

Creates a new library listing

Parameters:

request (CreateLibraryListingRequest)

Return type:

LibraryListing

post_library_listings_versions(*, user_defined_listing_id, request)

Creates a new library listing version

Parameters:
Return type:

LibraryListingVersion

post_llm_models(*, request)

Creates a new BIS-LLM deployment

Parameters:

request (CreateLLMModelRequest)

Return type:

LLMModelHandle

post_llm_models_deployments(*, model_id, request)

Creates a new BIS-LLM deployment version

Parameters:
Return type:

LLMModelHandle

post_loops_checkpoints_validate(*, request)

Validates a Loops checkpoint bt:// URI

Parameters:

request (ValidateLoopsCheckpointRequest)

Return type:

ValidateLoopsCheckpointResponse

post_loops_deployments_deactivate(*, deployment_id)

Deactivates a Loops deployment

Parameters:

deployment_id (str)

Return type:

DeactivateLoopsDeploymentResponse

post_loops_deployments_metrics(*, deployment_id, request)

Gets metrics for a Loops trainer deployment

Parameters:
Return type:

GetLoopsDeploymentMetricsResponse

post_loops_runs(*, request)

Creates a Loops run

Parameters:

request (CreateLoopsRunRequest)

Return type:

CreateLoopsRunResponse

post_loops_samplers(*, request)

Creates a Loops sampler

Parameters:

request (CreateLoopsSamplerRequest)

Return type:

CreateLoopsSamplerResponse

post_loops_sessions()

Creates a Loops session

Return type:

CreateLoopsSessionResponse

post_model_apis_snapshots(*, request)

Creates a model weight snapshot

Parameters:

request (CreateModelWeightSnapshotRequest)

Return type:

ModelWeightSnapshot

post_model_apis_snapshots_model_id(*, model_id, request)

Creates a model weight snapshot

Parameters:
Return type:

ModelWeightSnapshot

post_models(*, request)

Creates a new model from a source

Parameters:

request (CreateModelRequest)

Return type:

CreatedModelDeployment

post_models_deployments(*, model_id, request)

Adds a new deployment to a model

Parameters:
Return type:

CreatedModelDeployment

post_models_deployments_activate(*, model_id, deployment_id)

Activates a deployment

Parameters:
  • model_id (str)

  • deployment_id (str)

Return type:

ActivateResponse

post_models_deployments_deactivate(*, model_id, deployment_id)

Deactivates a deployment

Parameters:
  • model_id (str)

  • deployment_id (str)

Return type:

DeactivateResponse

post_models_deployments_development_activate(*, model_id)

Activates a development deployment

Parameters:

model_id (str)

Return type:

ActivateResponse

post_models_deployments_development_deactivate(*, model_id)

Deactivates a development deployment

Parameters:

model_id (str)

Return type:

DeactivateResponse

post_models_deployments_development_promote(*, model_id, request)

Promotes a development deployment to production

Parameters:
Return type:

Deployment

post_models_deployments_development_retry(*, model_id)

Retries a failed development deployment

Parameters:

model_id (str)

Return type:

RetryDeploymentResponse

post_models_deployments_logs(*, model_id, deployment_id, request)

Gets the logs for a model deployment (deprecated; use GET)

Parameters:
Return type:

GetLogsResponse

post_models_deployments_patches(*, model_id, deployment_id, request)

Stages a patch against a development deployment

Parameters:
Return type:

CreateDeploymentPatchResponse

post_models_deployments_patches_sync(*, model_id, deployment_id, request)

Syncs staged patches to a development deployment

Parameters:
Return type:

SyncDeploymentPatchesResponse

post_models_deployments_production_activate(*, model_id)

Activates a production deployment

Parameters:

model_id (str)

Return type:

ActivateResponse

post_models_deployments_production_deactivate(*, model_id)

Deactivates a production deployment

Parameters:

model_id (str)

Return type:

DeactivateResponse

post_models_deployments_production_retry(*, model_id)

Retries a failed production deployment

Parameters:

model_id (str)

Return type:

RetryDeploymentResponse

post_models_deployments_promote(*, model_id, deployment_id, request)

Promotes a deployment to production

Parameters:
Return type:

Deployment

post_models_deployments_retry(*, model_id, deployment_id)

Retries a failed deployment

Parameters:
  • model_id (str)

  • deployment_id (str)

Return type:

RetryDeploymentResponse

post_models_deployments_ssh_sign(*, model_id, deployment_id, request)

Signs an SSH certificate for an inference model

Parameters:
Return type:

SignSSHCertificateResponse

post_models_environments(*, model_id, request)

Creates an environment

Parameters:
Return type:

Environment

post_models_environments_activate(*, model_id, env_name)

Activates a deployment associated with an environment

Parameters:
  • model_id (str)

  • env_name (str)

Return type:

ActivateResponse

post_models_environments_cancel_promotion(*, model_id, env_name)

Cancels a promotion to an environment

Parameters:
  • model_id (str)

  • env_name (str)

Return type:

CancelPromotionResponse

post_models_environments_deactivate(*, model_id, env_name)

Deactivates a deployment associated with an environment

Parameters:
  • model_id (str)

  • env_name (str)

Return type:

DeactivateResponse

post_models_environments_force_cancel_promotion(*, model_id, env_name)

Force cancels a rolling promotion

Parameters:
  • model_id (str)

  • env_name (str)

Return type:

SignalPromotionResponse

post_models_environments_force_roll_forward_promotion(*, model_id, env_name)

Force rolls forward a rolling promotion

Parameters:
  • model_id (str)

  • env_name (str)

Return type:

SignalPromotionResponse

post_models_environments_pause_promotion(*, model_id, env_name)

Pauses a rolling promotion

Parameters:
  • model_id (str)

  • env_name (str)

Return type:

SignalPromotionResponse

post_models_environments_promote(*, model_id, env_name, request)

Promotes a deployment to an environment

Parameters:
Return type:

Deployment

post_models_environments_resume_promotion(*, model_id, env_name)

Resumes a paused rolling promotion

Parameters:
  • model_id (str)

  • env_name (str)

Return type:

SignalPromotionResponse

post_prepare_model_upload(*, request)

Validates a model push payload and issues upload credentials

Parameters:

request (PrepareModelUploadRequest)

Return type:

PrepareModelUploadResponse

post_secrets(*, request)

Upserts a secret

Parameters:

request (UpsertSecretRequest)

Return type:

Secret

post_teams_api_keys(*, team_id, request)

Creates a team API key

Parameters:
Return type:

APIKey

post_teams_llm_models(*, team_id, request)

Creates a new BIS-LLM deployment

Parameters:
Return type:

LLMModelHandle

post_teams_models(*, team_id, request)

Creates a new model from a source

Parameters:
Return type:

CreatedModelDeployment

post_teams_secrets(*, team_id, request)

Upserts a secret in a team

Parameters:
Return type:

Secret

post_teams_training_projects(*, team_id, request)

Upserts a training project in a specific team

Parameters:
Return type:

UpsertTrainingProjectResponse

Searches training jobs

Parameters:

request (SearchTrainingJobsRequest)

Return type:

SearchTrainingJobsResponse

post_training_projects(*, request)

Upserts a training project

Parameters:

request (UpsertTrainingProjectRequest)

Return type:

UpsertTrainingProjectResponse

post_training_projects_jobs(*, training_project_id, request)

Creates a training job

Parameters:
Return type:

CreateTrainingJobResponse

post_training_projects_jobs_logs(*, training_project_id, training_job_id, request)

Gets the logs for a training job (deprecated; use GET)

Parameters:
Return type:

GetLogsResponse

post_training_projects_jobs_metrics(*, training_project_id, training_job_id, request)

Gets the metrics for a training job (deprecated; use GET)

Parameters:
Return type:

GetTrainingJobMetricsResponse

post_training_projects_jobs_recreate(*, training_project_id, training_job_id)

Recreates a training job

Parameters:
  • training_project_id (str)

  • training_job_id (str)

Return type:

RecreateTrainingJobResponse

post_training_projects_jobs_ssh_sign(*, training_project_id, training_job_id, request)

Signs an SSH certificate for a training job

Parameters:
Return type:

SignSSHCertificateResponse

post_training_projects_jobs_stop(*, training_project_id, training_job_id, request)

Stops a training job

Parameters:
Return type:

StopTrainingJobResponse