List Metrics
Get aggregated metrics for all programs.
Args: sort_by: Sort key (name, calls, latency, cost, tokens, last_call) order: Sort order (asc, desc)
get/api/metrics
Query parameters
sort_bystring
orderstring
Response
Successful Response
{"stackTrail":"paths:/api/metrics:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
Changed in 2 of the 4 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲