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

# WorkspaceBudget

## Example Usage

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

let value: WorkspaceBudget = {
  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 |
| - | - | - | - | - |
| `createdAt` | *string* | :heavy\_check\_mark: | ISO 8601 timestamp of when the budget was created | 2025-08-24T10:30:00Z |
| `id` | *string* | :heavy\_check\_mark: | Unique identifier for the budget | 770e8400-e29b-41d4-a716-446655440000 |
| `limitUsd` | *number* | :heavy\_check\_mark: | Spending limit in USD for this interval | 100 |
| `resetInterval` | [models.ResetInterval](../models/resetinterval.mdx) | :heavy\_check\_mark: | Interval at which spend resets. Null means a lifetime (one-time) budget. | monthly |
| `updatedAt` | *string* | :heavy\_check\_mark: | ISO 8601 timestamp of when the budget was last updated | 2025-08-24T15:45:00Z |
| `workspaceId` | *string* | :heavy\_check\_mark: | ID of the workspace the budget belongs to | 550e8400-e29b-41d4-a716-446655440000 |
