For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
ModelsChatRankingsDocs
DocsAPI ReferenceClient SDKsAgent SDKCookbookChangelog
DocsAPI ReferenceClient SDKsAgent SDKCookbookChangelog
    • Overview
    • Usage for Agents
  • TypeScript SDK
    • Overview
      • Analytics
      • APIKeys
      • Byok
      • Chat
      • Credits
      • Embeddings
      • Endpoints
      • Generations
      • Guardrails
      • OAuth
      • Observability
        • ListResponse
      • Organization
      • Presets
      • Providers
      • Rerank
      • Beta.Responses
      • Transcriptions
      • Speech
      • VideoGeneration
      • Workspaces
  • Python SDK
    • Overview
  • Go SDK
  • DevTools
    • Overview
    • Migrating to @openrouter/agent
LogoLogo
ModelsChatRankingsDocs
On this page
  • Example Usage
  • Fields
TypeScript SDKAPI ReferenceOperations

ListResponse - TypeScript SDK

ListResponse type definition
Was this page helpful?
Previous

Organization - TypeScript SDK

Organization method reference
Next
Built with

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 workspaceId: "0df9e665-d932-5740-b2c7-b52af166bc11",
26 },
27 ],
28};

Fields

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