Requests

Get Request Facet Metrics

Requests and credits consumed per observed filter value, plus the search patterns of the selected window. Companion to /v0/requests/facets, which returns the values themselves: this one derives search-pattern keys and joins the credit ledger, so it is the slower of the two.

get/v0/requests/facets/metrics

Query parameters

start_datetimestring date-time nullable
end_datetimestring date-time nullable
endpointsstring[] nullable
status_codesinteger[] nullable
api_key_idstring uuid nullable
search_pattern_keystring nullable
endpointstring nullable
origin'api' | 'app' | 'web' | 'mcp' | 'admin_mcp'
is_origin_appboolean nullable
typesRequestType[] nullable
min_credits_consumedinteger nullable

Only requests whose total (api + ui) credits consumed are at least this.

Only requests whose total (api + ui) credits consumed are at least this.

max_credits_consumedinteger nullable

Only requests whose total (api + ui) credits consumed are at most this.

Only requests whose total (api + ui) credits consumed are at most this.

Response

Successful Response

metricsobject
search_pattern_keysstring[]

Changes