Deployments
Update a deployment
Changed onUpdate an existing deployment configuration
patch/v1/deployments/{id}
Request
- Base URLhttps://api.together.ai
- URLhttps://api.together.ai/v1/deployments/{id}
- AuthHTTP bearer
Path parameters
idstring required
Deployment ID or name
Request body
Example request
{
"autoscaling": {
"metric": "HTTPTotalRequests",
"target": 100,
"time_interval_minutes": 10
},
"model_mounts": [
{
"model_id": "ml_CbJNwQC2ZqCU2iFT3mrCh",
"mount_path": "/models",
"revision_id": "rv_8kQ2mN4pL7xR9tV1wY3zA"
}
]
}Response
Deployment updated successfully
Example response
{
"autoscaling": {
"metric": "HTTPTotalRequests",
"target": 100,
"time_interval_minutes": 10
},
"model_mounts": [
{
"model_id": "ml_CbJNwQC2ZqCU2iFT3mrCh",
"mount_path": "/models",
"revision_id": "rv_8kQ2mN4pL7xR9tV1wY3zA"
}
]
}Changes
- info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info