Delete a custom model
DELETE/v5/models/{model_id}
Permanently delete a custom model record and tear down its deployment at the serving vendor.
This is a hard delete: the model row is removed from your account entirely and cannot be restored afterward. Before the record is removed, if the model has an associated vendor deployment that deployment is torn down at its serving vendor. A model that is currently deploying cannot be deleted and the request fails until deployment finishes. This operates on the model records managed by this API, distinct from the GET /v5/chat/completions/models catalog of models callable for chat completions.
Delete a custom model
curl https://api.egp.scale.com/v5/models/$MODEL_ID \
-X DELETE \
-H "x-api-key: $SGP_API_KEY"{
"id": "id",
"deleted": true,
"object": "model"
}Returns Examples
{
"id": "id",
"deleted": true,
"object": "model"
}