Reviewing a model update
Use this endpoint to approve or reject a candidate model in a prediction by using Machine Learning Operations (MLOps).
POST /predictions/model_update/{referenceID}/review
- Method
POST
- Endpoint
/predictions/model_update/{referenceID}/review
- Sample URL
- http://IP:PORT/prweb/api/application/v2/predictions/model_update/M-5104/review
{referenceID} is an identifier of a model update that you want to approve or reject, for example, M-5104. A request that starts a model update returns this reference ID. For more information, see Starting a model update.
Request
Review request parameters
Name | Type | Description |
action | String (Approve, Reject) | This parameter allows you to approve a model for deployment to production or to reject the model. |
review_note | String | A comment from the data scientist to indicate the reason for the approval or rejection of the model. |
shadow_mode | Boolean (True, False) | True places the model in shadow mode. False replaces the active model in the prediction with this model. |
Response
Response parameters
Name | Type | Description |
message | String | The output of the review command. |
Previous topic Starting a model update Next topic Retrieving the model update status