Returns what the analytics query language offers for the Location: its version, the datasets the acting user may read (each needs its own permission, e.g. finances or loyalty), the time kinds and the result limits. Requires the reports constructor permission of the Location.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v3/openapi/locations/{location_id}/analytics/capabilities
- Preview resource API contract - endpoint surface is not live yethttps://api.alteg.io/api/v3/locations/{location_id}/analytics/capabilities
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v3/openapi/locations/{location_id}/analytics/capabilities' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Query language version, readable datasets, time kinds and limits.
Requests left in the most constrained policy window that applies to this request.
On 429, seconds until the most constrained policy frees up; it equals Retry-After there. On a successful response it reports the length of that policy's window rather than the time left in the current one, so treat it as the window size, not as a countdown — the counter to pace against is RateLimit-Remaining.
Most constrained policy applied to the request, as <limit>;w=<window in seconds>.
{ "object": "analytics_capabilities", "language_version": "1", "datasets": [ "visits", "appointments" ], "time_kinds": [ "period", "snapshot" ], "max_page_size": 1000, "max_result_rows": 10000, "result_ttl_seconds": 86400 }