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