Deployments
Roll back a deployment to a previous revision
Changed onRe-applies the spec of a previous revision. Pods running the target revision will be retained. Other pods will be drained and restarted with the target revision. Only the 50 most recent revisions per deployment can be rolled back to; older targets return 404.
post/v1/deployments/{id}/rollback
Request
- Base URLhttps://api.together.ai
- URLhttps://api.together.ai/v1/deployments/{id}/rollback
- AuthHTTP bearer
Path parameters
idstring required
Deployment ID or name.
Request body
Response
Deployment after rollback
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