Get model deployments
Production model deployment
Gets a modelβs production deployment and returns the deployment.
Authorizations
Authorization
string
headerrequiredYou must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Path Parameters
model_id
string
requiredResponse
200 - application/json
A deployment of a model.
id
string
requiredUnique identifier of the deployment
created_at
string
requiredTime the deployment was created in ISO 8601 format
name
string
requiredName of the deployment
model_id
string
requiredUnique identifier of the model
is_production
boolean
requiredWhether the deployment is the production deployment of the model
is_development
boolean
requiredWhether the deployment is the development deployment of the model
status
enum<string>
requiredStatus of the deployment
Available options:
BUILDING
, DEPLOYING
, DEPLOY_FAILED
, LOADING_MODEL
, ACTIVE
, UNHEALTHY
, BUILD_FAILED
, BUILD_STOPPED
, DEACTIVATING
, INACTIVE
, FAILED
, UPDATING
, SCALED_TO_ZERO
, WAKING_UP
active_replica_count
integer
requiredNumber of active replicas
autoscaling_settings
object | null
requiredAutoscaling settings for the deployment. If null, the model has not finished deploying
environment
string | null
requiredThe environment associated with the deployment