Skip to main content

Interface: TokenSummaryQuery

Parameters controlling usage summary retrieval.

Properties​

cursor?​

optional cursor: string;

Pagination cursor returned from prior results.


limit?​

optional limit: number;

Maximum number of rows to return (1-500).


model?​

optional model: string;

Filter results to a specific model.


range?​

optional range: object;

Timestamp range filter (milliseconds).

NameTypeDescription
from?numberInclusive lower bound timestamp.
to?numberInclusive upper bound timestamp.

window?​

optional window: TokenWindow;

Window to aggregate by; defaults to day.