Skip to main content
GET
Usage Logs

Request

This endpoint uses session authentication (logged-in user), not API key auth.

Query parameters

string
Filter by model ID.
string
Filter by status (e.g. success, error).
string
Start date in ISO format.
string
End date in ISO format.
integer
Number of logs to return. Default: 20.
integer
Pagination offset. Default: 0.

Example


Response

Returns an array of log entries with model, tokens, cost, status, and timestamp for each request.