/** * This file was auto-generated by Fern from our API Definition. */ import * as ElevenLabs from "../../../../index"; /** * @example * { * start_unix: 1, * end_unix: 1 * } */ export interface UsageGetCharactersUsageMetricsRequest { /** * UTC Unix timestamp for the start of the usage window, in milliseconds. To include the first day of the window, the timestamp should be at 00:00:00 of that day. */ start_unix: number; /** * UTC Unix timestamp for the end of the usage window, in milliseconds. To include the last day of the window, the timestamp should be at 23:59:59 of that day. */ end_unix: number; /** * Whether or not to include the statistics of the entire workspace. */ include_workspace_metrics?: boolean; /** * How to break down the information. Cannot be "user" if include_workspace_metrics is False. */ breakdown_type?: ElevenLabs.BreakdownTypes; /** * How to aggregate usage data over time. Can be "hour", "day", "week", "month", or "cumulative". */ aggregation_interval?: ElevenLabs.UsageAggregationInterval; /** * Which metric to aggregate. */ metric?: ElevenLabs.MetricType; }