> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# QueryAnalyticsRequest

## Fields

| Field                  | Type                                                                                  | Required             | Description                                                                                                                                                                                                                                                                                                                             | Example |
| ---------------------- | ------------------------------------------------------------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| `ClassifierDimensions` | [\*operations.ClassifierDimensions](../../models/operations/classifierdimensions.mdx) | :heavy\_minus\_sign: | Group results by custom classifier tags, breaking down metrics by the specified dimension values. Requires an active classifier on the workspace.                                                                                                                                                                                       |         |
| `ClassifierFilters`    | [\*operations.ClassifierFilters](../../models/operations/classifierfilters.mdx)       | :heavy\_minus\_sign: | Filter results to generations with specific classifier tag values. Can be combined with classifier\_dimensions (must use the same classifier\_id) or used independently with standard dimensions.                                                                                                                                       |         |
| `Dimensions`           | \[]`string`                                                                           | :heavy\_minus\_sign: | N/A                                                                                                                                                                                                                                                                                                                                     |         |
| `Filters`              | \[][operations.Filter](../../models/operations/filter.mdx)                            | :heavy\_minus\_sign: | N/A                                                                                                                                                                                                                                                                                                                                     |         |
| `Granularity`          | `*string`                                                                             | :heavy\_minus\_sign: | Time granularity                                                                                                                                                                                                                                                                                                                        | day     |
| `GroupLimit`           | `*int64`                                                                              | :heavy\_minus\_sign: | Maximum rows per distinct combination of dimensions. When omitted on time-series queries (granularity + dimensions), auto-computed to avoid truncating time windows. Explicit values override the default and may truncate time buckets if set lower than the number of buckets in the range. Ignored when no dimensions are specified. | 100     |
| `Limit`                | `*int64`                                                                              | :heavy\_minus\_sign: | Maximum total rows returned. Defaults to 1000. On time-series queries with dimensions and no explicit group\_limit, the server may raise this to accommodate the expected number of unique time-bucket/dimension combinations.                                                                                                          |         |
| `Metrics`              | \[]`string`                                                                           | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                     |         |
| `OrderBy`              | [\*operations.OrderBy](../../models/operations/orderby.mdx)                           | :heavy\_minus\_sign: | N/A                                                                                                                                                                                                                                                                                                                                     |         |
| `TimeRange`            | [\*operations.TimeRange](../../models/operations/timerange.mdx)                       | :heavy\_minus\_sign: | N/A                                                                                                                                                                                                                                                                                                                                     |         |
