Get analytics (series + summary) for an agent
Returns metrics series and an aggregated summary for a single agent. Series is read from Mongo; summary is cached and recomputed from Elasticsearch on miss/stale (custom date ranges always recompute).
Authorizations
User-bound credential carrying an identity: either a session JWT
or a user access token (at:*) generated from the user settings UI.
Send as Authorization: Bearer <token>.
Org API keys (iak_*) are not accepted here - they carry
no user identity. Use the x-prismeai-api-key header instead
(see OrgApiKeyAuth).
Path Parameters
64Query Parameters
Preset period. Default 30d.
15m, 30m, 1h, 1d, 7d, 30d, 90d 16ISO start (custom range). Overrides period.
64ISO end (custom range, exclusive).
64Override granularity (auto-picked from period otherwise).
5m, hourly, daily 16