TypeScript SDKAPI ReferenceOperations
GetBenchmarksRequest - TypeScript SDK
GetBenchmarksRequest - TypeScript SDK
GetBenchmarksRequest type definition
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Example Usage
1 import { GetBenchmarksRequest } from "@openrouter/sdk/models/operations"; 2 3 let value: GetBenchmarksRequest = { 4 source: "artificial-analysis", 5 maxResults: 20, 6 };
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
httpReferer | string | ➖ | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. | |
appTitle | string | ➖ | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. | |
appCategories | string | ➖ | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. | |
source | operations.Source | ✔️ | Benchmark source to query. Determines the shape of the returned items. | artificial-analysis |
taskType | operations.TaskType | ➖ | Filter results by task type. For Artificial Analysis, maps to the corresponding index. For Design Arena, maps to the matching category. | coding |
arena | operations.Arena | ➖ | Design Arena only: arena to query. Defaults to models when source is design-arena. | models |
category | string | ➖ | Design Arena only: category within the arena (e.g. codecategories, uicomponent, gamedev, 3d, dataviz, image, video, svg). When omitted, returns all categories. | codecategories |
maxResults | number | ➖ | Max results to return (1–100, default 50). | 20 |