CreateWorkspaceRequest - Go SDK
CreateWorkspaceRequest - Go SDK
CreateWorkspaceRequest type definition
The Go SDK and docs are currently in beta. Report issues on GitHub.
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 |
IoLoggingAPIKeyIds | optionalnullable.OptionalNullable[[]int64] | ➖ | Optional array of API key IDs to filter I/O logging | <nil> |
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 and hyphens only) | production |