Refresh an Analysis Group
Re-run the Beam Analysis Group aggregation process.
Rerun the Beam Analysis Group aggregation process.
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 Analysis Group ID. Analyses that belong to this group will be returned.
3ED1zxXqAYSuccessful Response
Analysis group is already in the process of refreshing
Bearer token scope insufficient
Analysis Group not found
A data conflict has occurred due to the analysis group being modified elsewhere. Please retry your call later.
Validation Error
POST /v1/beam/analysis-groups/{group_id}/refresh HTTP/1.1
Host: api.predicthq.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Examples
curl -X POST "https://api.predicthq.com/v1/beam/analysis-groups/$GROUP_ID/refresh" \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN"import requests
response = requests.post(
url="https://api.predicthq.com/v1/beam/analysis-groups/$GROUP_ID/refresh",
headers={
"Authorization": "Bearer $ACCESS_TOKEN",
"Accept": "application/json"
}
)
print(response.status_code)OpenAPI Spec
The OpenAPI spec for Beam API can be found here.
Last updated
Was this helpful?