v16

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-032765158.3 KB
Usage

Get Models Reranker Usage

Get reranker usage analytics with model breakdown.

Note: Rerank events don't have collection_id, so collection filtering is not supported. If collection_names are provided in the request, they will be ignored.

post/usage/models/reranker

Request body

start_timeinteger required

Start time for the usage query (inclusive) - Unix timestamp (seconds since epoch)

end_timeinteger required

End time for the usage query (inclusive) - Unix timestamp (seconds since epoch)

aggregation_window'minutely' | 'hourly' | 'daily' required
collection_namesstring[] nullable

Optional list of collection names to filter by. If None, returns data for all collections.

Response

Successful Response

window_startinteger required
organization_idstring uuid required
reranker_modelstring required
explicit_callboolean required
event_countinteger required
total_request_bytesinteger required
total_reranker_tokensinteger required
total_documents_rerankedinteger required
total_time_taken_msnumber required
total_reranking_time_msnumber required