Skip to main content
GET
/
api
/
v3
/
models
/
undeploy-model
/
{model_id}
/
status
Get Undeploy Status
curl --request GET \
  --url https://api.nugen.in/api/v3/models/undeploy-model/{model_id}/status \
  --header 'Authorization: Bearer <token>'
{
  "model_id": "<string>",
  "status": "pending",
  "result": {},
  "start_time": "2024-02-24T10:00:00Z",
  "end_time": "2024-02-24T10:05:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

model_id
string
required

Response

Returns the current un-deployment status of an aligned model. This endpoint retrieves the status of a running un-deployment with detailed progress information, allowing users to track the un-deployment process and determine when their model has been successfully removed from inference. The response includes the current un-deployment state (pending, completed, failed), any relevant result details from the un-deployment task, and timestamps for when the un-deployment started and completed.

Response schema for undeploy status check

model_id
string
required

User-facing model ID

status
string
required

Celery task status: PENDING (in progress) or COMPLETED (finished)

Example:

"pending"

result
Result · object

Task result if completed

start_time
string<date-time> | null

start time

Example:

"2024-02-24T10:00:00Z"

end_time
string<date-time> | null

end time

Example:

"2024-02-24T10:05:00Z"