ListResponse - TypeScript SDK

ListResponse type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

List of API keys

Example Usage

1import { ListResponse } from "@openrouter/sdk/models/operations";
2
3let value: ListResponse = {
4 data: [
5 {
6 hash:
7 "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",
8 name: "My Production Key",
9 label: "Production API Key",
10 disabled: false,
11 limit: 100,
12 limitRemaining: 74.5,
13 limitReset: "monthly",
14 includeByokInLimit: false,
15 usage: 25.5,
16 usageDaily: 25.5,
17 usageWeekly: 25.5,
18 usageMonthly: 25.5,
19 byokUsage: 17.38,
20 byokUsageDaily: 17.38,
21 byokUsageWeekly: 17.38,
22 byokUsageMonthly: 17.38,
23 createdAt: "2025-08-24T10:30:00Z",
24 updatedAt: "2025-08-24T15:45:00Z",
25 },
26 ],
27};

Fields

FieldTypeRequiredDescription
dataoperations.ListData[]✔️List of API keys