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 byokUsage: 17.38,
7 byokUsageDaily: 17.38,
8 byokUsageMonthly: 17.38,
9 byokUsageWeekly: 17.38,
10 createdAt: "2025-08-24T10:30:00Z",
11 creatorUserId: "user_2dHFtVWx2n56w6HkM0000000000",
12 disabled: false,
13 hash: "f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943",
14 includeByokInLimit: false,
15 label: "Production API Key",
16 limit: 100,
17 limitRemaining: 74.5,
18 limitReset: "monthly",
19 name: "My Production Key",
20 updatedAt: "2025-08-24T15:45:00Z",
21 usage: 25.5,
22 usageDaily: 25.5,
23 usageMonthly: 25.5,
24 usageWeekly: 25.5,
25 },
26 ],
27};

Fields

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