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": "model_abc123",
  "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.

model_id
string
required

model ID that was undeployed

Example:

"model_abc123"

status
string
required

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 of undeployment process

Example:

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

end_time
string<date-time> | null

end time of undeployment process

Example:

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