On-demand metrics refresh for an agent
Re-aggregates the cached analytics for the requested period. The
front-end passes period_start / period_end / granularity for
the window currently being viewed. The legacy fallback uses
hours_back (1..168) ending at the current hour boundary at hourly
granularity. Available to agent owners and writers.
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
Legacy fallback - number of hours back from now (max 168).