delete_model
Permanently delete a failed model to clean up incomplete fits. Requires a model hash and only works for failed models; other statuses are rejected to prevent accidental removal.
Instructions
PERMANENTLY DELETE a FAILED model. Destructive and irreversible.
Only models with status "failed" can be deleted over the API — any other status returns a 409 with the model's current status (delete is for cleaning up failed fits, not curating good ones). Deleting also unlinks any MMMs that pointed at it as their VAR model and removes stored artifacts. On success returns {"deleted_model_hash": ..., "status": "deleted"}.
Check first with get_model or get_model_status if unsure of the status.
Args: model_hash: Hash of the FAILED model to delete permanently.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_hash | Yes |