Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
DefaultImageModel | optionalnullable.OptionalNullable[string] | ➖ | Default image model for this workspace | openai/dall-e-3 |
DefaultProviderSort | optionalnullable.OptionalNullable[string] | ➖ | Default provider sort preference (price, throughput, latency, exacto) | price |
DefaultTextModel | optionalnullable.OptionalNullable[string] | ➖ | Default text model for this workspace | openai/gpt-4o |
Description | optionalnullable.OptionalNullable[string] | ➖ | Description of the workspace | Production environment workspace |
DisabledServerTools | optionalnullable.OptionalNullable[[]components.CreateWorkspaceRequestDisabledServerTool] | ➖ | 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 | optionalnullable.OptionalNullable[[]int64] | ➖ | Optional array of API key IDs to filter I/O logging | null |
IoLoggingSamplingRate | *float64 | ➖ | Sampling rate for I/O logging (0.0001-1) | 1 |
IsDataDiscountLoggingEnabled | *bool | ➖ | Whether data discount logging is enabled | true |
IsObservabilityBroadcastEnabled | *bool | ➖ | Whether broadcast is enabled | false |
IsObservabilityIoLoggingEnabled | *bool | ➖ | Whether private logging is enabled | 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 |