Per-Request Usage Logs
Billing & Usage
Per-Request Usage Logs
Get granular per-request usage logs with filtering. Supports CSV export via format=csv.
GET
Per-Request Usage Logs
Authorizations
API key starting with nj_sk_
Query Parameters
Number of records to return.
Required range:
x <= 500Pagination offset.
Filter by endpoint type.
Available options:
chat, search, images, video Filter by model ID (e.g. gpt-5).
Filter by HTTP status code (e.g. 200).
Start date (ISO 8601).
End date (ISO 8601).
Response format. Use csv for spreadsheet export.
Available options:
json, csv