---
schema_version: "1"
id: f4856e0119e9fa52c8877080ee762d3eb1bf5edb2c71906bd19d0189294a22d8
title: Predict History Resource
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/bi_dev_guide_rest_sdd/bi_sdd_resources_predict_history.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest_sdd.meta/bi_dev_guide_rest_sdd/bi_sdd_resources_predict_history.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 45f9484db22d7c149eaf73232db871d5851adaf1b4d99f638bfe41056a403736
description: Query the history of Einstein Discovery predictions.
---
# Predict History Resource

Query the history of Einstein Discovery predictions.

Resource URL

/smartdatadiscovery/predict-history

Formats

JSON

Available Version

56.0

HTTP Methods

POST

Request body for POST

| Parameter Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| predict​History | [Predict​History​Input](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest_sdd.meta/bi_dev_guide_rest_sdd/bi_sdd_requests_predict_history_input.htm "The query input for prediction history.") | The input for the predict history query. | Required | 56.0 |

Response body for POST

[Predict History Collection](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest_sdd.meta/bi_dev_guide_rest_sdd/bi_sdd_responses_predict_history_collection.htm "A collection of historical predictions for a goal.")

Example

For use cases for querying prediction history, see [Query Prediction History](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest_sdd.meta/bi_dev_guide_rest_sdd/bi_edd_prediction_service_predict_history.htm "The Einstein Prediction Service provides a REST API endpoint to query prediction histories.").