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

# GetCurrentKeyResponse

API key details

## Example Usage

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

let value: GetCurrentKeyResponse = {
  data: {
    allowedDataRegions: [
      "global",
      "europe",
      "us",
    ],
    budgets: [
      {
        budgetId: null,
        guardrailId: "0df9e665-d932-5740-b2c7-b52af166bc11",
        includeByok: false,
        limitUsd: 50,
        remainingUsd: 17.5,
        resetInterval: "weekly",
        resetsAt: new Date("2026-10-12T00:00:00.000Z"),
        scope: "member",
        spendUsd: 32.5,
      },
    ],
    byokUsage: 17.38,
    byokUsageDaily: 17.38,
    byokUsageMonthly: 17.38,
    byokUsageWeekly: 17.38,
    creatorUserId: "user_2dHFtVWx2n56w6HkM0000000000",
    effectiveBudget: {
      budgetId: null,
      guardrailId: "0df9e665-d932-5740-b2c7-b52af166bc11",
      includeByok: false,
      limitUsd: 50,
      remainingUsd: 17.5,
      resetInterval: "weekly",
      resetsAt: new Date("2026-10-12T00:00:00.000Z"),
      scope: "member",
      spendUsd: 32.5,
    },
    freeModelDailyRequests: {
      limit: 50,
      remaining: 38,
      used: 12,
    },
    includeByokInLimit: false,
    isFreeTier: false,
    isManagementKey: false,
    isProvisioningKey: false,
    label: "sk-or-v1-au7...890",
    limit: 100,
    limitRemaining: 74.5,
    limitReset: "monthly",
    organizationId: null,
    rateLimit: {
      interval: "1h",
      note: "This field is deprecated and safe to ignore.",
      requests: 1000,
    },
    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.GetCurrentKeyData](../../models/operations/getcurrentkeydata.mdx) | ✔️ | Current API key information | \{ "allowed\_data\_regions": \[ "global", "europe", "us" ], "budgets": \[ \{ "budget\_id": null, "guardrail\_id": "0df9e665-d932-5740-b2c7-b52af166bc11", "include\_byok": false, "limit\_usd": 50, "remaining\_usd": 17.5, "reset\_interval": "weekly", "resets\_at": "2026-10-12T00:00:00.000Z", "scope": "member", "spend\_usd": 32.5 } ], "byok\_usage": 17.38, "byok\_usage\_daily": 17.38, "byok\_usage\_monthly": 17.38, "byok\_usage\_weekly": 17.38, "creator\_user\_id": "user\_2dHFtVWx2n56w6HkM0000000000", "effective\_budget": \{ "budget\_id": null, "guardrail\_id": "0df9e665-d932-5740-b2c7-b52af166bc11", "include\_byok": false, "limit\_usd": 50, "remaining\_usd": 17.5, "reset\_interval": "weekly", "resets\_at": "2026-10-12T00:00:00.000Z", "scope": "member", "spend\_usd": 32.5 }, "expires\_at": "2027-12-31T23:59:59Z", "free\_model\_daily\_requests": \{ "limit": 50, "remaining": 38, "used": 12 }, "include\_byok\_in\_limit": false, "is\_free\_tier": false, "is\_management\_key": false, "is\_provisioning\_key": false, "label": "sk-or-v1-au7...890", "limit": 100, "limit\_remaining": 74.5, "limit\_reset": "monthly", "rate\_limit": \{ "interval": "1h", "note": "This field is deprecated and safe to ignore.", "requests": 1000 }, "usage": 25.5, "usage\_daily": 25.5, "usage\_monthly": 25.5, "usage\_weekly": 25.5 } |
