Granularity - TypeScript SDK
Granularity - TypeScript SDK
Granularity type definition
Granularity - TypeScript SDK
1 import { Granularity } from "@openrouter/sdk/models/operations"; 2 3 let value: Granularity = { 4 displayLabel: "Day", 5 name: "day", 6 };
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
displayLabel | string | ✔️ | Human-readable label | Day |
name | operations.GranularityName | ✔️ | Granularity identifier | day |