Get Correlation Results
Retrieve results of the correlation of our event data with your transactional demand data.
Authorizations
Path parameters
analysis_idstringRequired
An existing Beam Analysis ID.
Query parameters
date.gtstring · dateOptionalExample:
Filters results after the specified date (exclusive).
2017-01-01
date.gtestring · dateOptionalExample:
Filters results on or after the specified date.
2017-01-01
date.ltstring · dateOptionalExample:
Filters results before the specified date (exclusive).
2025-01-07
date.ltestring · dateOptionalExample:
Filters results on or before the specified date.
2025-01-07
offsetintegerOptionalDefault:
Offset the results.
0
limitintegerOptionalDefault:
Limit the number of results.
10
Responses
200
Successful Response
application/json
400
Missing/invalid date parameters or Feature impact is outdated. Analysis needs to be refreshed
403
Bearer token scope insufficient
404
Analysis or Derivative not found
422
Validation Error
application/json
500
Internal inconsistency detected. Please refresh the analysis
get
/v1/beam/analyses/{analysis_id}/correlateGET /v1/beam/analyses/{analysis_id}/correlate HTTP/1.1
Host: api.predicthq.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"model_version": "text",
"version": 1,
"count": 1,
"dates": [
{
"date": "2021-01-01",
"baseline_demand": 1642.8505673206673,
"remainder": 4250.149432679333,
"actual_demand": 5893,
"impact_significance": "NO_IMPACT",
"impact_significance_score": 0
}
]
}
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"
OpenAPI Spec
The OpenAPI spec for Beam API can be found here.
Guides
Below are some guides relevant to this API:
Last updated
Was this helpful?