Get Correlation Results
Enter your PredictHQ API key. The Bearer prefix is added automatically.
When calling the API directly, send: Authorization: Bearer <YOUR_API_KEY> as documented at https://docs.predicthq.com/api/overview/authenticating
An existing Beam Analysis ID.
Filters results after the specified date (exclusive).
2017-01-01Filters results on or after the specified date.
2017-01-01Filters results before the specified date (exclusive).
2025-01-07Filters results on or before the specified date.
2025-01-07Offset the results.
0Limit the number of results.
10Successful Response
Please note we have deprecated some fields in this endpoint. The deprecated fields are not intended to be used to get current feature values for use in forecasting or other use-cases. They're a snapshot of some of the data from the time the correlation process was run, so for any other purposes are immediately out-of-date. Please fetch the latest data from Features API instead.
Missing/invalid date parameters or Feature impact is outdated. Analysis needs to be refreshed
Bearer token scope insufficient
Analysis or Derivative not found
Validation Error
Internal inconsistency detected. Please refresh the analysis
Examples
curl -X GET "https://api.predicthq.com/v1/beam/analyses/$ANALYSIS_ID/correlate?date.gte=2022-01-01&date.lte=2022-12-31" \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN"import requests
response = requests.get(
url="https://api.predicthq.com/v1/beam/analyses/$ANALYSIS_ID/correlate",
headers={
"Authorization": "Bearer $ACCESS_TOKEN",
"Accept": "application/json"
},
params={
"date.gte": "2022-01-01",
"date.lte": "2022-12-31"
}
)
print(response.json())OpenAPI Spec
Guides
Last updated
Was this helpful?