Skip to main content

Testing the Prediction APIs

Introduction

Pega provides APIs that allow you to connect to the Customer Decision Hub Predictions from your preferred data science environment. These APIs provide endpoints for various operations, such as accessing prediction attributes, introducing challenger models, exporting data, and more. A System Administrator generates the required credentials.

Video

Transcript

Pega provides APIs that provide endpoints for many Prediction operations.

To provide data scientists with the option to work from their preferred data science environment, a System Administrator creates an OAuth 2.0 client registration data instance credentials to access the APIs in Infinity Studio. After creating the client registration, ensure to save the credentials that include the Client ID and Client Secret.

Credentials

To inspect the API responses, you open the API channel. From here, select the Prediction APIs service package and authorize the client by entering the saved Client ID and Client Secret.

secret

The APIs are divided into categories like Data Export, Models, Reporting, Predictions, and Prediction Studio. Explore the available predictions by using the GET List predictions API to retrieve a list of predictions within the application.

listpredictions

To delve deeper into a specific prediction, such as the Predict Web Propensity prediction, use the GET Describe Prediction API with the appropriate model ID to obtain detailed information about the adaptive models that drive the prediction.

describeprediction

To examine one of the models, such as the Web Click Through Rate Customer model, use the GET Describe Model API with the appropriate model ID to obtain detailed information, including the modeling technique, target labels, and predictors. This model calculates the propensity that a customer clicks on a web banner.

output

The APIs are now ready for use by the data science team.


This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

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

Pega Academy 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