dockStatusId to call the Get Dock Status API and verify successful model undeployment.
| Method | POST |
|---|---|
| Endpoint | https://{host}/api/public/models/:{<i>modelId</i>}/undeploy |
| Content Type | application/json |
| Authorization | X-api-key - The API key used for authentication. |
Path Parameters
| PARAMETER | DESCRIPTION | TYPE | REQUIRED/OPTIONAL |
|---|---|---|---|
| host | The environment URL. For example, https://agent-platform.domain.ai/ | String | Required |
| modelId | The unique identifier of the model to deploy. | String | Required |
Sample Request
Body Parameters
No parameters are passed.Sample Response
Response Parameters
| PARAMETER | DESCRIPTION | TYPE |
|---|---|---|
dockStatusId | The unique identifier to track the model undeployment status. | String |
modelId | The unique identifier for the model. | String |
jobType | Type of job being performed (MODELS). | String |
action | The action performed on the model, that is UNDEPLOY. | String |
status | The current status of the job (SUCCESS, IN_PROGRESS, or FAILED). | String |