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 |
DefaultGuardrailID | string | ✔️ | Deterministic ID derived from the workspace ID. The default guardrail is materialized when its configuration is first written. | 595d5849-7e86-51fd-a7c0-705c34e4afff |
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 |
DisabledServerTools | optionalnullable.OptionalNullable[[]string] | ➖ | OpenRouter server tools (e.g. openrouter:web_search) that requests in this workspace may not invoke. Null means no tools are disabled. | null |
ID | string | ✔️ | Unique identifier for the workspace | 550e8400-e29b-41d4-a716-446655440000 |
IncludeBYOKInBudgets | *bool | ➖ | Whether BYOK (bring-your-own-key) spend counts toward this workspace’s budgets. Set it via the workspace budget endpoints. | false |
IoLoggingAPIKeyIds | []int64 | ✔️ | Optional array of API key IDs to filter I/O logging. Null means all keys are logged. | null |
IoLoggingSamplingRate | float64 | ✔️ | Sampling rate for I/O logging (0.0001-1). 1 means 100% of requests are logged. | 1 |
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 |