Cost Controls

List usage records

List individual usage records with filtering.

Enterprise only. These routes are not registered in Community edition, which returns 404 Not Found.

get/api/v1/usage/records

Request

Query parameters

start_timestring date-time

Filter records after this time

end_timestring date-time

Filter records before this time

providerstring

Filter by LLM provider

modelstring

Filter by model name

agent_idstring

Filter by agent ID

limitinteger

Maximum number of records

offsetinteger

Offset for pagination

Headers

X-Org-IDstring required

Organization ID

Response

Usage records

countinteger
totalinteger

Changes

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