Prediction Definition Resources

A prediction definition specifies what the model is trying to predict and the Salesforce entity associated with the prediction. Each prediction definition has a unique id. Only certain attributes of a prediction definition can be modified.
Available resources:
Resource Description Supported HTTP Method Resource URL
Prediction Definitions Resource Returns a collection of Einstein Discovery prediction definitions. GET /smartdatadiscovery​/predictiondefinitions
Prediction Definition Resource Returns or deletes a prediction definition. GET DELETE /smartdatadiscovery​/predictiondefinitions​/<predictionDefinitionIdOrName>
Prediction Definition Model Cards Resource Returns a model card for an Einstein Discovery prediction definition. GET /smartdatadiscovery​/predictiondefinitions​/<predictionDefinitionIdOrName>​/modelcards
Prediction Definition Model Card Resource Deletes a prediction definition model card. DELETE /smartdatadiscovery​/predictiondefinitions​/<predictionDefinitionIdOrName>​/modelcards/<modelCardId>
Prediction Definition Models Resource Returns a collection of Einstein Discovery prediction definition models. GET POST /smartdatadiscovery​/predictiondefinitions​/<predictionDefinitionIdOrName>​/models
Prediction Definition Model Resource Returns or deletes a model for an Einstein Discovery prediction definition. GET PATCH DELETE /smartdatadiscovery​/predictiondefinitions​/<predictionDefinitionIdOrName>​/models/<modelId>
Prediction Definition Model Metrics Resource Returns a collection of metrics for a prediction definition model. GET /smartdatadiscovery​/predictiondefinitions​/<predictionDefinitionIdOrName>​/models/<modelId>/metrics
Examples

For use cases to manage prediction definitions, see Manage Prediction Definitions.

For use cases to manage models, see Manage Models.