OrderBy - TypeScript SDK
OrderBy - TypeScript SDK
OrderBy type definition
OrderBy - TypeScript SDK
1 import { OrderBy } from "@openrouter/sdk/models/operations"; 2 3 let value: OrderBy = { 4 direction: "asc", 5 field: "request_count", 6 };
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
direction | operations.Direction | ✔️ | N/A | |
field | string | ✔️ | Field to order by | request_count |