Workspace - Python SDK

Workspace method reference

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

Fields

FieldTypeRequiredDescriptionExample
created_atstr✔️ISO 8601 timestamp of when the workspace was created2025-08-24T10:30:00Z
created_byNullable[str]✔️User ID of the workspace creatoruser_abc123
default_image_modelNullable[str]✔️Default image model for this workspaceopenai/dall-e-3
default_provider_sortNullable[str]✔️Default provider sort preference (price, throughput, latency, exacto)price
default_text_modelNullable[str]✔️Default text model for this workspaceopenai/gpt-4o
descriptionNullable[str]✔️Description of the workspaceProduction environment workspace
idstr✔️Unique identifier for the workspace550e8400-e29b-41d4-a716-446655440000
io_logging_api_key_idsList[int]✔️Optional array of API key IDs to filter I/O logging. Null means all keys are logged.<nil>
io_logging_sampling_ratefloat✔️Sampling rate for I/O logging (0.0001-1). 1 means 100% of requests are logged.1
is_data_discount_logging_enabledbool✔️Whether data discount logging is enabled for this workspacetrue
is_observability_broadcast_enabledbool✔️Whether broadcast is enabled for this workspacefalse
is_observability_io_logging_enabledbool✔️Whether private logging is enabled for this workspacefalse
namestr✔️Name of the workspaceProduction
slugstr✔️URL-friendly slug for the workspaceproduction
updated_atNullable[str]✔️ISO 8601 timestamp of when the workspace was last updated2025-08-24T15:45:00Z