Get Handler Metrics
Return session counts and accumulated spend for a saved handler.
Filters only by session creation time. buckets splits the window by interval, chosen from the window's length. Counts use the current turn and conversation state, so an open conversation awaiting another message remains active. Spend includes the selected sessions' full accumulated cost, including activity after the creation-time window. Only sessions carrying this exact saved handler id are counted; legacy sessions without handler provenance are excluded.
spend_windows reports current trailing 1-, 7-, and 28-day spend, including subscription tokens, and effective handler budgets across all attributed sessions. Those windows use usage timestamps and are independent of start/end.
Requires configs:read matching handlers/{service} and unrestricted sessions:read. Session tokens with both grants may read metrics.
Request
- Base URLhttps://api.ellipsis.dev
- URLhttps://api.ellipsis.dev/v1/handlers/{id}/metrics
- AuthHTTP bearer
Path parameters
Query parameters
Inclusive session creation-time bound. Naive timestamps use UTC.
Exclusive session creation-time bound. Naive timestamps use UTC.
Headers
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.