The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ListResponse } from "@openrouter/sdk/models/operations";
let value: ListResponse = {
data: [
{
hash:
"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",
name: "My Production Key",
label: "Production API Key",
disabled: false,
limit: 100,
limitRemaining: 74.5,
limitReset: "monthly",
includeByokInLimit: false,
usage: 25.5,
usageDaily: 25.5,
usageWeekly: 25.5,
usageMonthly: 25.5,
byokUsage: 17.38,
byokUsageDaily: 17.38,
byokUsageWeekly: 17.38,
byokUsageMonthly: 17.38,
createdAt: "2025-08-24T10:30:00Z",
updatedAt: "2025-08-24T15:45:00Z",
},
],
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
data | operations.ListData[] | :heavy_check_mark: | List of API keys |