Skip to main content

Table of Contents

Reviewing a model update

Use this endpoint to approve or reject a candidate model in a prediction.

POST /predictions/model_update/{referenceID}/review

Sample URL

{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.


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

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.


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

Response parameters

Name Type Description
message String The output of the review command.
Did you find this content helpful?

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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us