Search Analyses
Search for 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
Query parameters
group_idstring[]OptionalExample:
An Analysis Group ID. Analyses that belong to this group will be returned.
3ED1zxXqAYexternal_idstring[]OptionalExample:
Comma-separated list of External IDs.
["id1","id2"]labelstring[]OptionalExample:
Comma-separated list of labels.
["label1","label2","label3"]location.saved_location_idstring[]OptionalExample:
Comma-separated list of Saved Location IDs.
["id1","id2"]limitintegerOptionalDefault:
Limit the number of results.
10offsetintegerOptionalDefault:
Offset the results.
0Responses
200
Successful Response
application/json
422
Validation Error
application/json
get
/v1/beam/analysesExamples
curl -X GET "https://api.predicthq.com/v1/beam/analyses?status=draft&sort=updated" \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN"import requests
response = requests.get(
url="https://api.predicthq.com/v1/beam/analyses",
headers={
"Authorization": "Bearer $ACCESS_TOKEN",
"Accept": "application/json"
},
params={
"status": "draft",
"sort": "updated"
}
)
print(response.json())OpenAPI Spec
Guides
Last updated
Was this helpful?