Skip to main content

DeploymentDetail

Deployment Object

idstring

The unique identifier for the deployment

Example: dp-12345
namestring

The name of the deployment

Example: deployment-1
task_typestring

Task type of the deployment

Example: classification
metadata object

Metadata of the deployment (varies by task_type)

oneOf
labelsstring[]
Example: ["class1","class2"]
descriptionstring

A description of the deployment

Example: Deployment for my training job
base_modelstring

The base model used for deployment

Example: Llama-3.2-1B-Instruct
statusstring

The current status of the deployment

Possible values: [Pending, Deploying, Deployed, Failed, Cancelled, Terminated, Deactivated, Reactivating, TimedOut]

Example: Deployed
training_idstring

The training job ID used for deployment

Example: tr-12345
checkpointinteger

The checkpoint number used for deployment

Example: 4
created_atinteger

The timestamp when the deployment was created

Example: 1633036800
updated_atinteger

The timestamp when the deployment was last updated

Example: 1633036800
DeploymentDetail
{
"id": "dp-12345",
"name": "deployment-1",
"task_type": "classification",
"metadata": {
"labels": [
"class1",
"class2"
]
},
"description": "Deployment for my training job",
"base_model": "Llama-3.2-1B-Instruct",
"status": "Deployed",
"training_id": "tr-12345",
"checkpoint": 4,
"created_at": 1633036800,
"updated_at": 1633036800
}