Refresh an Analysis
Rerun the Beam correlation and analysis process.
Rerun the Beam correlation and analysis process for an existing Analysis. The readiness_status will be set to pending until processing completes. Returns 400 if the Analysis is already being processed.
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.
Successful Response
No content
Bad Request
Unauthorized
Bearer token scope insufficient
Analysis not found
Data conflict
POST /v1/beam/analyses/{analysis_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/analyses/$ANALYSIS_ID/refresh" \
-H "Accept: application/json" \
-H "Authorization: Bearer $API_TOKEN"import requests
response = requests.post(
url="https://api.predicthq.com/v1/beam/analyses/$ANALYSIS_ID/refresh",
headers={
"Authorization": "Bearer $API_TOKEN",
"Accept": "application/json"
}
)
print(response.status_code)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?