Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { RankingsDailyMeta } from "@openrouter/sdk/models";

let value: RankingsDailyMeta = {
  asOf: "2026-05-12T02:00:00Z",
  endDate: "2026-05-11",
  startDate: "2026-04-12",
  version: "v1",
};

Fields

FieldTypeRequiredDescriptionExample
asOfstring:heavy_check_mark:ISO-8601 timestamp of when the response was generated. Reflects data-freshness because the underlying materialized view continuously ingests upstream events.2026-05-12T02:00:00Z
endDatestring:heavy_check_mark:Resolved end of the date window (UTC, inclusive).2026-05-11
startDatestring:heavy_check_mark:Resolved start of the date window (UTC, inclusive).2026-04-12
versionmodels.Version:heavy_check_mark:Dataset version. Field names and grain are stable for the life of v1.