---
title: "GetBenchmarksRequest"
---

## Fields

| Field                                                                                                                                                                           | Type                                                                                                                                                                            | Required                                                                                                                                                                        | Description                                                                                                                                                                     | Example                                                                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `http_referer`                                                                                                                                                                  | *Optional[str]*                                                                                                                                                                 | :heavy_minus_sign:                                                                                                                                                              | The app identifier should be your app's URL and is used as the primary identifier for rankings.<br/>This is used to track API usage per application.<br/>                       |                                                                                                                                                                                 |
| `x_open_router_title`                                                                                                                                                           | *Optional[str]*                                                                                                                                                                 | :heavy_minus_sign:                                                                                                                                                              | The app display name allows you to customize how your app appears in OpenRouter's dashboard.<br/>                                                                               |                                                                                                                                                                                 |
| `x_open_router_categories`                                                                                                                                                      | *Optional[str]*                                                                                                                                                                 | :heavy_minus_sign:                                                                                                                                                              | Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.<br/>                                                                      |                                                                                                                                                                                 |
| `source`                                                                                                                                                                        | [Optional[operations.Source]](../operations/source.mdx)                                                                                                                          | :heavy_minus_sign:                                                                                                                                                              | Benchmark source to query. Determines the shape of the returned items. When omitted, returns results from all sources.                                                          | artificial-analysis                                                                                                                                                             |
| `task_type`                                                                                                                                                                     | [Optional[operations.TaskType]](../operations/tasktype.mdx)                                                                                                                      | :heavy_minus_sign:                                                                                                                                                              | Filter results by task type. For Artificial Analysis, maps to the corresponding index. For Design Arena, maps to the matching category.                                         | coding                                                                                                                                                                          |
| `arena`                                                                                                                                                                         | [Optional[operations.Arena]](../operations/arena.mdx)                                                                                                                            | :heavy_minus_sign:                                                                                                                                                              | Design Arena only: arena to query. Defaults to `models` when source is `design-arena`.                                                                                          | models                                                                                                                                                                          |
| `category`                                                                                                                                                                      | *Optional[str]*                                                                                                                                                                 | :heavy_minus_sign:                                                                                                                                                              | Design Arena only: category within the arena (e.g. `codecategories`, `uicomponent`, `gamedev`, `3d`, `dataviz`, `image`, `video`, `svg`). When omitted, returns all categories. | codecategories                                                                                                                                                                  |
| `max_results`                                                                                                                                                                   | *Optional[int]*                                                                                                                                                                 | :heavy_minus_sign:                                                                                                                                                              | Maximum number of items to return. When omitted, all matching results are returned.                                                                                             | 50                                                                                                                                                                              |