v2
latestOpenAPI 3.1.02026-08-05267431678.1 KBdeployments
Rollback to a previous deployment
Re-deploy the model from a previous deployment record.
The rolled-back deployment may be either a training-job deployment or a base-model deployment; this endpoint handles both shapes by mirroring whichever target was set on the source record.
Args: project_id: Project to roll back. deployment_id: Deployment record whose target will be re-activated. auth: Authenticated user.
Returns: DeploymentResponse for the new rollback deployment record.
Raises: 400: If the historical deployment targets a base model that is no longer in the catalog. 403: If the user does not have access to the project. 404: If the deployment record is not found for this project.
post/projects/{project_id}/deployments/{deployment_id}/rollback
Path parameters
project_idstring uuid required
deployment_idstring uuid required
Response
Successful Response