> ## 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.

# GetKeyResponse

API key details

## Example Usage

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

let value: GetKeyResponse = {
  data: {
    byokUsage: 17.38,
    byokUsageDaily: 17.38,
    byokUsageMonthly: 17.38,
    byokUsageWeekly: 17.38,
    createdAt: "2025-08-24T10:30:00Z",
    creatorUserId: "user_2dHFtVWx2n56w6HkM0000000000",
    disabled: false,
    hash: "f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943",
    includeByokInLimit: false,
    label: "Production API Key",
    limit: 100,
    limitRemaining: 74.5,
    limitReset: "monthly",
    name: "My Production Key",
    updatedAt: "2025-08-24T15:45:00Z",
    usage: 25.5,
    usageDaily: 25.5,
    usageMonthly: 25.5,
    usageWeekly: 25.5,
    workspaceId: "0df9e665-d932-5740-b2c7-b52af166bc11",
  },
};
```

## Fields

| Field  | Type                                                            | Required             | Description             | Example                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ------ | --------------------------------------------------------------- | -------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `data` | [operations.GetKeyData](../../models/operations/getkeydata.mdx) | :heavy\_check\_mark: | The API key information | \{<br />"byok\_usage": 17.38,<br />"byok\_usage\_daily": 17.38,<br />"byok\_usage\_monthly": 17.38,<br />"byok\_usage\_weekly": 17.38,<br />"created\_at": "2025-08-24T10:30:00Z",<br />"creator\_user\_id": "user\_2dHFtVWx2n56w6HkM0000000000",<br />"disabled": false,<br />"expires\_at": "2027-12-31T23:59:59Z",<br />"hash": "f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943",<br />"include\_byok\_in\_limit": false,<br />"label": "sk-or-v1-0e6...1c96",<br />"limit": 100,<br />"limit\_remaining": 74.5,<br />"limit\_reset": "monthly",<br />"name": "My Production Key",<br />"updated\_at": "2025-08-24T15:45:00Z",<br />"usage": 25.5,<br />"usage\_daily": 25.5,<br />"usage\_monthly": 25.5,<br />"usage\_weekly": 25.5,<br />"workspace\_id": "0df9e665-d932-5740-b2c7-b52af166bc11"<br />} |
