Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
DefaultImageModel | optionalnullable.OptionalNullable[string] | :heavy_minus_sign: | Default image model for this workspace | openai/dall-e-3 |
DefaultProviderSort | optionalnullable.OptionalNullable[string] | :heavy_minus_sign: | Default provider sort preference (price, throughput, latency, exacto) | price |
DefaultTextModel | optionalnullable.OptionalNullable[string] | :heavy_minus_sign: | Default text model for this workspace | openai/gpt-4o |
Description | optionalnullable.OptionalNullable[string] | :heavy_minus_sign: | Description of the workspace | Production environment workspace |
DisabledServerTools | optionalnullable.OptionalNullable[[]components.CreateWorkspaceRequestDisabledServerTool] | :heavy_minus_sign: | 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] | :heavy_minus_sign: | Optional array of API key IDs to filter I/O logging | null |
IoLoggingSamplingRate | *float64 | :heavy_minus_sign: | Sampling rate for I/O logging (0.0001-1) | 1 |
IsDataDiscountLoggingEnabled | *bool | :heavy_minus_sign: | Whether data discount logging is enabled | true |
IsObservabilityBroadcastEnabled | *bool | :heavy_minus_sign: | Whether broadcast is enabled | false |
IsObservabilityIoLoggingEnabled | *bool | :heavy_minus_sign: | Whether private logging is enabled | false |
Name | string | :heavy_check_mark: | Name for the new workspace | Production |
Slug | string | :heavy_check_mark: | URL-friendly slug (lowercase alphanumeric segments separated by single hyphens, no leading/trailing hyphens) | production |