Get an Analysis
Get an existing Analysis.
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
Name of the Analysis.
Analysis 1Identifier of the user who owns the Analysis.
Access level for the Analysis.
fullPossible values: Status of the Analysis.
activePossible values: The value of this field determines whether or not the Analysis has successfully completed processing.
When you upload data for an Analysis the readiness_status will be set to pending until processing has
completed.
readyPossible values: IDs of the groups this Analysis belongs to.
The time zone of the Analysis in TZ Database format.
Note: this field is populated automatically based on the location of the Analysis.
Pacific/AucklandDate and time when the Analysis was created (ISO 8601).
Date and time when the Analysis was last updated (ISO 8601).
Date and time when the Analysis processing completed (ISO 8601).
External identifier associated with the Analysis (optional, user-defined).
abc123Comma-separated list of labels that can be used to search and filter analyses.
["label1","label2","label3"]Analysis is not ready
Bearer token scope insufficient
Analysis not found
Validation Error
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
Guides
Last updated
Was this helpful?