Get an Analysis
Get an existing Analysis.
Get an existing Analysis.
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
analysis_idstringRequired
An existing Beam Analysis ID.
Responses
200
Successful Response
application/json
400
Analysis is not ready
403
Bearer token scope insufficient
404
Analysis not found
422
Validation Error
application/json
get
/v1/beam/analyses/{analysis_id}Examples
curl -X GET "https://api.predicthq.com/v1/beam/analyses/$ANALYSIS_ID" \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN"import requests
response = requests.get(
url="https://api.predicthq.com/v1/beam/analyses/<analysis_id>",
headers={
"Authorization": "Bearer $ACCESS_TOKEN",
"Accept": "application/json"
}
)
print(response.json())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?