> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# OrderBy

## Example Usage

```typescript theme={null}
import { OrderBy } from "@openrouter/sdk/models/operations";

let value: OrderBy = {
  direction: "asc",
  field: "request_count",
};
```

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `direction` | [operations.Direction](../../models/operations/direction.mdx) | :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 |
