Workspace - Go SDK
Workspace - Go SDK
Workspace type definition
The Go SDK and docs are currently in beta. Report issues on GitHub.
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
CreatedAt | string | ✔️ | ISO 8601 timestamp of when the workspace was created | 2025-08-24T10:30:00Z |
CreatedBy | *string | ✔️ | User ID of the workspace creator | user_abc123 |
DefaultImageModel | *string | ✔️ | Default image model for this workspace | openai/dall-e-3 |
DefaultProviderSort | *string | ✔️ | Default provider sort preference (price, throughput, latency, exacto) | price |
DefaultTextModel | *string | ✔️ | Default text model for this workspace | openai/gpt-4o |
Description | *string | ✔️ | Description of the workspace | Production environment workspace |
ID | string | ✔️ | Unique identifier for the workspace | 550e8400-e29b-41d4-a716-446655440000 |
IsDataDiscountLoggingEnabled | bool | ✔️ | Whether data discount logging is enabled for this workspace | true |
IsObservabilityBroadcastEnabled | bool | ✔️ | Whether broadcast is enabled for this workspace | false |
IsObservabilityIoLoggingEnabled | bool | ✔️ | Whether private logging is enabled for this workspace | false |
Name | string | ✔️ | Name of the workspace | Production |
Slug | string | ✔️ | URL-friendly slug for the workspace | production |
UpdatedAt | *string | ✔️ | ISO 8601 timestamp of when the workspace was last updated | 2025-08-24T15:45:00Z |