v2
latestOpenAPI 3.1.02026-07-2670186350.6 KBUsage
Query parameters
Start date for the time range (inclusive). If not provided, defaults to the first day of the current month.
Start date for the time range (inclusive). If not provided, defaults to the first day of the current month.
End date for the time range (exclusive). If not provided, defaults to the last day of the current month.
End date for the time range (exclusive). If not provided, defaults to the last day of the current month.
Time granularity for grouping (minute, hour, day, month, year)
Fields from event_metadata to include and sum
Fields from event_metadata to include and sum
[ "completion_tokens", "total_tokens" ]
Fields from tags to group by
Fields from tags to group by
[ "model", "project.name" ]
If provided, narrow the result to events tagged with this session_id (set by the URL-session prefix /v3/session/<sid>). Useful for opper launch style accounting.
If provided, narrow the result to events tagged with this session_id (set by the URL-session prefix /v3/session/<sid>). Useful for opper launch style accounting.
Response
Successful Response