Deployments

Get a deployment by ID or name

GET
/deployments/{id}

Retrieve details of a specific deployment by its ID or name

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Deployment ID or name

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/deployments/string"
{  "args": [    "string"  ],  "autoscaling": {    "metric": "HTTPTotalRequests",    "target": 0,    "time_interval_minutes": 0  },  "capacity_type": "stable",  "command": [    "string"  ],  "cpu": 0,  "created_at": "2019-08-24T14:15:22Z",  "description": "string",  "desired_replicas": 0,  "environment_variables": [    {      "name": "string",      "value": "string",      "value_from_secret": "string"    }  ],  "gpu_count": 0,  "gpu_type": "h100-80gb",  "health_check_path": "string",  "id": "string",  "image": "string",  "max_replicas": 0,  "memory": 0,  "min_replicas": 0,  "model_mounts": [    {      "model_id": "string",      "mount_path": "string",      "revision_id": "string"    }  ],  "name": "string",  "object": "deployment",  "port": 0,  "ready_replicas": 0,  "replica_events": {    "property1": {      "image": "string",      "replica_ready_since": "string",      "replica_status": "string",      "replica_status_message": "string",      "replica_status_reason": "string",      "revision_id": "string",      "volume_preload_completed_at": "string",      "volume_preload_started_at": "string",      "volume_preload_status": "string"    },    "property2": {      "image": "string",      "replica_ready_since": "string",      "replica_status": "string",      "replica_status_message": "string",      "replica_status_reason": "string",      "revision_id": "string",      "volume_preload_completed_at": "string",      "volume_preload_started_at": "string",      "volume_preload_status": "string"    }  },  "status": "Updating",  "storage": 0,  "termination_grace_period_seconds": 0,  "updated_at": "2019-08-24T14:15:22Z",  "volumes": [    {      "mount_path": "string",      "name": "string",      "version": 0    }  ]}