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

# GetBYOKKeyResponse

## Example Usage

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

let value: GetBYOKKeyResponse = {
  data: {
    allowedApiKeyHashes: null,
    allowedModels: null,
    allowedUserIds: null,
    createdAt: "2025-08-24T10:30:00Z",
    declaredRegion: null,
    declaredZdr: null,
    disabled: false,
    id: "11111111-2222-3333-4444-555555555555",
    isByokOnly: false,
    isFallback: false,
    isRequired: false,
    label: "sk-...AbCd",
    provider: "openai",
    sortOrder: 0,
    workspaceId: "550e8400-e29b-41d4-a716-446655440000",
  },
};
```

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `data` | [models.BYOKKey](../models/byokkey.mdx) | ✔️ | N/A | \{ "allowed\_api\_key\_hashes": null, "allowed\_models": null, "allowed\_user\_ids": null, "created\_at": "2025-08-24T10:30:00Z", "declared\_region": null, "declared\_zdr": null, "disabled": false, "id": "11111111-2222-3333-4444-555555555555", "is\_byok\_only": false, "is\_fallback": false, "is\_required": false, "label": "sk-...AbCd", "name": "Production OpenAI Key", "provider": "openai", "sort\_order": 0, "workspace\_id": "550e8400-e29b-41d4-a716-446655440000" } |
