UpdateWorkspaceRequest - Python SDK

UpdateWorkspaceRequest method reference

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

Fields

FieldTypeRequiredDescriptionExample
default_image_modelOptionalNullable[str]Default image model for this workspaceopenai/dall-e-3
default_provider_sortOptionalNullable[str]Default provider sort preference (price, throughput, latency, exacto)price
default_text_modelOptionalNullable[str]Default text model for this workspaceopenai/gpt-4o
descriptionOptionalNullable[str]New description for the workspaceUpdated description
io_logging_api_key_idsList[int]Optional array of API key IDs to filter I/O logging<nil>
io_logging_sampling_rateOptional[float]Sampling rate for I/O logging (0.0001-1)1
is_data_discount_logging_enabledOptional[bool]Whether data discount logging is enabledtrue
is_observability_broadcast_enabledOptional[bool]Whether broadcast is enabledfalse
is_observability_io_logging_enabledOptional[bool]Whether private logging is enabledfalse
nameOptional[str]New name for the workspaceUpdated Workspace
slugOptional[str]New URL-friendly slug (lowercase alphanumeric segments separated by single hyphens, no leading/trailing hyphens)updated-workspace