GetBenchmarksRequest - TypeScript SDK

GetBenchmarksRequest type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { GetBenchmarksRequest } from "@openrouter/sdk/models/operations";
2
3let value: GetBenchmarksRequest = {
4 source: "artificial-analysis",
5 maxResults: 20,
6};

Fields

FieldTypeRequiredDescriptionExample
httpRefererstringThe 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.
appTitlestringThe app display name allows you to customize how your app appears in OpenRouter’s dashboard.
appCategoriesstringComma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings.
sourceoperations.Source✔️Benchmark source to query. Determines the shape of the returned items.artificial-analysis
taskTypeoperations.TaskTypeFilter results by task type. For Artificial Analysis, maps to the corresponding index. For Design Arena, maps to the matching category.coding
arenaoperations.ArenaDesign Arena only: arena to query. Defaults to models when source is design-arena.models
categorystringDesign Arena only: category within the arena (e.g. codecategories, uicomponent, gamedev, 3d, dataviz, image, video, svg). When omitted, returns all categories.codecategories
maxResultsnumberMax results to return (1–100, default 50).20