Skip to main content
GET
/
api
/
v3
/
models
/
deploy-model
/
{model_id}
/
status
Get Deployment Status
curl --request GET \
  --url https://api.nugen.in/api/v3/models/deploy-model/{model_id}/status \
  --header 'Authorization: Bearer <token>'
{
  "model_id": "model_abc123",
  "status": "completed",
  "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 deployment status of an aligned model.

model_id
string
required

model ID that you want to deploy

Example:

"model_abc123"

status
string
required

Task status: pending (in progress), completed (finished), or failed (error)

Example:

"completed"

result
Result · object

Task result if completed

start_time
string<date-time> | null

Timestamp when deployment process started

Example:

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

end_time
string<date-time> | null

Timestamp when deployment process completed

Example:

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