Example Usage
import { OrderBy } from "@openrouter/sdk/models/operations";
let value: OrderBy = {
direction: "asc",
field: "request_count",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
direction | operations.Direction | :heavy_check_mark: | N/A | |
field | string | :heavy_check_mark: | Field to order by: a metric included in metrics (or “request_count”, which may be ordered by without being requested), a requested dimension, or “date”. | request_count |