Workspace - Go SDK

Workspace type definition

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

Fields

FieldTypeRequiredDescriptionExample
CreatedAtstring✔️ISO 8601 timestamp of when the workspace was created2025-08-24T10:30:00Z
CreatedBy*string✔️User ID of the workspace creatoruser_abc123
DefaultImageModel*string✔️Default image model for this workspaceopenai/dall-e-3
DefaultProviderSort*string✔️Default provider sort preference (price, throughput, latency, exacto)price
DefaultTextModel*string✔️Default text model for this workspaceopenai/gpt-4o
Description*string✔️Description of the workspaceProduction environment workspace
IDstring✔️Unique identifier for the workspace550e8400-e29b-41d4-a716-446655440000
IsDataDiscountLoggingEnabledbool✔️Whether data discount logging is enabled for this workspacetrue
IsObservabilityBroadcastEnabledbool✔️Whether broadcast is enabled for this workspacefalse
IsObservabilityIoLoggingEnabledbool✔️Whether private logging is enabled for this workspacefalse
Namestring✔️Name of the workspaceProduction
Slugstring✔️URL-friendly slug for the workspaceproduction
UpdatedAt*string✔️ISO 8601 timestamp of when the workspace was last updated2025-08-24T15:45:00Z