Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Updating active models in predictions through API with MLOps

Updated on September 15, 2022

You can create and deploy models directly from your modeling tool to Pega Platform, by using a scripting language of your choice and the V2 Prediction API endpoints. The API provides you with options to remotely perform Machine Learning Operations (MLOps): add a model to your application, review (approve or reject) a model update, and retrieve the status of a model update.

Use this API to integrate the model approval process in Pega Platform with any external model deployment process that your organization uses.

To learn about the work flows, components, and architecture behind model updates, see Understanding MLOps.

Pega Customer Decision Hub

V2 Prediction API service package

The V2 Prediction API service package, which you can access from Dev Studio, describes the model update endpoints, requests, and responses. Use the service package to test the endpoints by generating a sample response to a simulated endpoint. For more information, see Accessing and testing V2 Prediction API.

V2 Prediction API service package
A Swagger-based documentation of the prediction API endpoints available in Pega Platform

MLOps prerequisites

To replace models in predictions through the V2 Prediction API, you need to configure your Business Change pipeline, Prediction Studio settings, and data scientist operators to meet the requirements for the model update feature. For more information, see MLOps prerequisites.

Model update endpoints

Learn more about the model update endpoints by reviewing sample responses and parameter descriptions:

  • Starting a model update

    Use this endpoint to start an update process to replace a model in a prediction by using Machine Learning Operations (MLOps).

  • Reviewing a model update

    Use this endpoint to approve or reject a candidate model in a prediction by using Machine Learning Operations (MLOps).

  • Retrieving the model update status

    Use this endpoint to load the status of a model update that was started by using Machine Learning Operations (MLOps).

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us