Models

Returns usage statistics grouped by models and users.

Returns usage statistics grouped by models and users.

get/stats/usage_by_model_and_user

Request

Query parameters

intervalstring required

The length of an interval for which the stats will be obtained. The interval ends now.

Response

Successful operation

llm_namestring required
total_costnumber double required
total_callsinteger required
total_input_tokensinteger required
total_output_tokensinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.