CreateWorkspaceRequest - Go SDK

CreateWorkspaceRequest type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
DefaultImageModeloptionalnullable.OptionalNullable[string]Default image model for this workspaceopenai/dall-e-3
DefaultProviderSortoptionalnullable.OptionalNullable[string]Default provider sort preference (price, throughput, latency, exacto)price
DefaultTextModeloptionalnullable.OptionalNullable[string]Default text model for this workspaceopenai/gpt-4o
Descriptionoptionalnullable.OptionalNullable[string]Description of the workspaceProduction environment workspace
IsDataDiscountLoggingEnabled*boolWhether data discount logging is enabledtrue
IsObservabilityBroadcastEnabled*boolWhether broadcast is enabledfalse
IsObservabilityIoLoggingEnabled*boolWhether private logging is enabledfalse
Namestring✔️Name for the new workspaceProduction
Slugstring✔️URL-friendly slug (lowercase alphanumeric and hyphens only)production