Model endpoints

MethodEndpointDescription
GET/v1/modelsGet all models
GET/v1/models/{model_id}Get models by ID
DEL/v1/models/{model_id}Delete models

Chain endpoints

MethodEndpointDescription
GET/v1/chainsGet all Chains
GET/v1/chains/{chain_id}Get all Chains by ID
DEL/v1/chains/{chain_id}Delete Chains

Deployment endpoints

Activate a model deployment

MethodEndpointDescription
POST/v1/models/{model_id}/environments/{env_name}/activateActivate a environment
POST/v1/models/{model_id}/deployments/development/activateActivate development
POST/v1/models/{model_id}/deployments/{deployment_id}/activateActivate a deployment

Deactivate a model deployment

MethodEndpointDescription
POST/v1/models/{model_id}/environments/{env_name}/activateDeactivate a environment
POST/v1/models/{model_id}/environments/{env_name}/activateDeactivate development
POST/v1/models/{model_id}/environments/{env_name}/activateDeactivate a deployment

Promote a model deployment

MethodEndpointDescription
POST/v1/models/{model_id}/environments/{env_name}/promotePromote to model environment
POST/v1/models/{model_id}/deployments/development/promotePromote development deployment
POST/v1/models/{model_id}/deployments/{deployment_id}/promotePromote any deployment

Autoscaling

MethodEndpointDescription
PATCH.../deployments/production/autoscaling_settingsUpdates production autoscaling settings
PATCH.../deployments/development/autoscaling_settingsUpdates development’s autoscaling settings
PATCH.../deployments/{deployment_id}/autoscaling_settingsUpdates a deployment’s autoscaling settings

Manage deployment endpoints

MethodEndpointDescription
GET/v1/models/{model_id}/deploymentsGet all model deployments
GET/v1/models/{model_id}/deployments/productionProduction model deployment
GET/v1/models/{model_id}/deployments/developmentDevelopment model deployment
GET/v1/models/{model_id}/deployments/{deployment_id}Any model deployment by ID
DEL/v1/models/{model_id}/deployments/{deployment_id}Delete model deployments

Environment endpoints

MethodEndpointDescription
POST/v1/models/{model_id}/environmentsCreate environment
GET/v1/models/{model_id}/environmentsGet all environments
GET/v1/models/{model_id}/environments/{env_name}Get an environment details
PATCH/v1/models/{model_id}/environments/{env_name}Update model environment

Secret endpoints

MethodEndpointDescription
GET/v1/secretsGet all secrets
POST/v1/secretsCreate a new secret or updates an existing secret secret.

API Key endpoints

MethodEndpointDescription
GET/v1/api_keysGet all API keys.
POST/v1/api_keysCreate a new API key.
DELETE/v1/api_keysDelete an API key by its prefix.

Training Job endpoints

MethodEndpointDescription
GET/v1/training_projects/{training_project_id}/jobsGet all training jobs
GET/v1/training_projects/{training_project_id}/jobs/{training_job_id}Get training job by ID
POST/v1/training_jobs/searchSearch training jobs
POST/v1/training_projects/{training_project_id}/jobs/{training_job_id}/stopStop a training job
POST/v1/training_projects/{training_project_id}/jobs/{training_job_id}/recreateRecreate a training job
GET/v1/training_projects/{training_project_id}/jobs/{training_job_id}/checkpointsGet training job checkpoints
GET/v1/training_projects/{training_project_id}/jobs/{training_job_id}/checkpoint_filesGet training job checkpoint files
GET/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logsGet training job logs
GET/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metricsGet training job metrics
GET/v1/training_projects/{training_project_id}/jobs/{training_job_id}/downloadDownload training job artifacts