Python SDKAPI ReferenceComponents
Workspace - Python SDK
Workspace - Python SDK
Workspace method reference
The Python SDK and docs are currently in beta. Report issues on GitHub.
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
created_at | str | ✔️ | ISO 8601 timestamp of when the workspace was created | 2025-08-24T10:30:00Z |
created_by | Nullable[str] | ✔️ | User ID of the workspace creator | user_abc123 |
default_image_model | Nullable[str] | ✔️ | Default image model for this workspace | openai/dall-e-3 |
default_provider_sort | Nullable[str] | ✔️ | Default provider sort preference (price, throughput, latency, exacto) | price |
default_text_model | Nullable[str] | ✔️ | Default text model for this workspace | openai/gpt-4o |
description | Nullable[str] | ✔️ | Description of the workspace | Production environment workspace |
id | str | ✔️ | Unique identifier for the workspace | 550e8400-e29b-41d4-a716-446655440000 |
io_logging_api_key_ids | List[int] | ✔️ | Optional array of API key IDs to filter I/O logging. Null means all keys are logged. | <nil> |
io_logging_sampling_rate | float | ✔️ | Sampling rate for I/O logging (0.0001-1). 1 means 100% of requests are logged. | 1 |
is_data_discount_logging_enabled | bool | ✔️ | Whether data discount logging is enabled for this workspace | true |
is_observability_broadcast_enabled | bool | ✔️ | Whether broadcast is enabled for this workspace | false |
is_observability_io_logging_enabled | bool | ✔️ | Whether private logging is enabled for this workspace | false |
name | str | ✔️ | Name of the workspace | Production |
slug | str | ✔️ | URL-friendly slug for the workspace | production |
updated_at | Nullable[str] | ✔️ | ISO 8601 timestamp of when the workspace was last updated | 2025-08-24T15:45:00Z |