UpdateWorkspaceRequest - Go SDK

UpdateWorkspaceRequest 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]âž–New description for the workspaceUpdated description
IoLoggingAPIKeyIdsoptionalnullable.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 enabledtrue
IsObservabilityBroadcastEnabled*boolâž–Whether broadcast is enabledfalse
IsObservabilityIoLoggingEnabled*boolâž–Whether private logging is enabledfalse
Name*stringâž–New name for the workspaceUpdated Workspace
Slug*stringâž–New URL-friendly slug (lowercase alphanumeric segments separated by single hyphens, no leading/trailing hyphens)updated-workspace