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

# CreateWorkspaceRequest

## Example Usage

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

let value: CreateWorkspaceRequest = {
  name: "Production",
  slug: "production",
};
```

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `defaultImageModel` | *string* | ➖ | Default image model for this workspace | openai/dall-e-3 |
| `defaultProviderSort` | *string* | ➖ | Default provider sort preference (price, throughput, latency, exacto) | price |
| `defaultTextModel` | *string* | ➖ | Default text model for this workspace | openai/gpt-4o |
| `description` | *string* | ➖ | Description of the workspace | Production environment workspace |
| `disabledServerTools` | [models.CreateWorkspaceRequestDisabledServerTool](../models/createworkspacerequestdisabledservertool.mdx)\[] | ➖ | OpenRouter server tools that requests in this workspace may not invoke. Requests naming a disabled tool are rejected with 403. An empty array or null clears the list. | \[ "openrouter:web\_search", "openrouter:bash" ] |
| `ioLoggingApiKeyIds` | *number*\[] | ➖ | Optional array of API key IDs to filter I/O logging. Read-only for management keys: any value other than the default returns 403. Change it in the OpenRouter dashboard. | null |
| `ioLoggingSamplingRate` | *number* | ➖ | Sampling rate for I/O logging (0.0001-1). Read-only for management keys: any value other than the default returns 403. Change it in the OpenRouter dashboard. | 1 |
| `isDataDiscountLoggingEnabled` | *boolean* | ➖ | Whether data discount logging is enabled. Read-only for management keys: any value other than the default returns 403. Change it in the OpenRouter dashboard. | false |
| `isObservabilityBroadcastEnabled` | *boolean* | ➖ | Whether broadcast is enabled | false |
| `isObservabilityIoLoggingEnabled` | *boolean* | ➖ | Whether private logging is enabled. Read-only for management keys: any value other than the default returns 403. Change it in the OpenRouter dashboard. | false |
| `name` | *string* | ✔️ | Name for the new workspace | Production |
| `slug` | *string* | ✔️ | URL-friendly slug (lowercase alphanumeric segments separated by single hyphens, no leading/trailing hyphens) | production |
