Skip to main content

 –

Reviewing a model update

Suggest edit Updated on November 16, 2021

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

For example: { "action": "Approve", "review_note": "Approving model for shadow", "shadow_mode": true}

Review request parameters

NameTypeDescription
actionString (Approve, Reject)This parameter allows you to approve a model for deployment to production or to reject the model.
review_noteStringA comment from the data scientist to indicate the reason for the approval or rejection of the model.
shadow_modeBoolean (True, False)True places the model in shadow mode. False replaces the active model in the prediction with this model.

Response

For example: { "message": "referenceID M-5104 is Approved. New status Approved"}

Response parameters

NameTypeDescription
messageStringThe output of the review command.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us