Refresh an Analysis Group
Re-run the Beam Analysis Group aggregation process.
Authorizations
AuthorizationstringRequired
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
Path parameters
group_idstringRequiredExample:
An Analysis Group ID. Analyses that belong to this group will be returned.
3ED1zxXqAYResponses
202
Successful Response
400
Analysis group is already in the process of refreshing
403
Bearer token scope insufficient
404
Analysis Group not found
409
A data conflict has occurred due to the analysis group being modified elsewhere. Please retry your call later.
422
Validation Error
application/json
post
/v1/beam/analysis-groups/{group_id}/refreshNo 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
Last updated
Was this helpful?