Get an Analysis Group
Get an existing Analysis Group.
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
The autogenerated identifier for the analysis group.
Name of the Analysis Group.
My Analysis Group 1Comma-separated list of strings containing the IDs of Analyses included in this Group.
["0GTpLZ522Bc","6OK88wZ_Pv0"]The ID of the user who created the Analysis Group. Present for groups created in the WebApp; not populated for groups created via the API.
hjqkKozgS8mmThe processing status of the analysis group (e.g. pending, ready, failed).
readyPossible values: The current status of the analysis group.
activePossible values: The creation date time for the Analysis Group in ISO 8601 format.
2022-04-26T11:46:24+00:00The last update date time for the Analysis Group in ISO 8601 format.
2022-04-26T11:46:24+00:00Date and time when the Analysis Group processing completed (ISO 8601).
2022-04-26T11:46:25+00:00Bad Request
Unauthorized
Bearer token scope insufficient
Analysis Group not found
Examples
curl -X GET "https://api.predicthq.com/v1/beam/analysis-groups/$GROUP_ID" \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN"import requests
response = requests.get(
url="https://api.predicthq.com/v1/beam/analysis-groups/$GROUP_ID",
headers={
"Authorization": "Bearer $ACCESS_TOKEN",
"Accept": "application/json"
}
)
print(response.json())OpenAPI Spec
Last updated
Was this helpful?