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

# UpsertWorkspaceBudgetResponse

## Example Usage

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

let value: UpsertWorkspaceBudgetResponse = {
  data: {
    createdAt: "2025-08-24T10:30:00Z",
    id: "770e8400-e29b-41d4-a716-446655440000",
    limitUsd: 100,
    resetInterval: "monthly",
    updatedAt: "2025-08-24T15:45:00Z",
    workspaceId: "550e8400-e29b-41d4-a716-446655440000",
  },
};
```

## Fields

| Field                  | Type                                                    | Required             | Description                                                                                                                                                                                               | Example                                                                                                                                                                                                                                                                      |
| ---------------------- | ------------------------------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `data`                 | [models.WorkspaceBudget](../models/workspacebudget.mdx) | :heavy\_check\_mark: | N/A                                                                                                                                                                                                       | \{<br />"created\_at": "2025-08-24T10:30:00Z",<br />"id": "770e8400-e29b-41d4-a716-446655440000",<br />"limit\_usd": 100,<br />"reset\_interval": "monthly",<br />"updated\_at": "2025-08-24T15:45:00Z",<br />"workspace\_id": "550e8400-e29b-41d4-a716-446655440000"<br />} |
| `includeByokInBudgets` | *boolean*                                               | :heavy\_minus\_sign: | Whether BYOK (bring-your-own-key) spend is included when enforcing the workspace's budgets. This is a workspace-wide setting that applies to all budget intervals (daily, weekly, monthly, and lifetime). | true                                                                                                                                                                                                                                                                         |
