---
title: "UpdateWorkspaceRequest"
---

## Fields

| Field                                                                                                            | Type                                                                                                             | Required                                                                                                         | Description                                                                                                      | Example                                                                                                          |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `default_image_model`                                                                                            | *OptionalNullable[str]*                                                                                          | :heavy_minus_sign:                                                                                               | Default image model for this workspace                                                                           | openai/dall-e-3                                                                                                  |
| `default_provider_sort`                                                                                          | *OptionalNullable[str]*                                                                                          | :heavy_minus_sign:                                                                                               | Default provider sort preference (price, throughput, latency, exacto)                                            | price                                                                                                            |
| `default_text_model`                                                                                             | *OptionalNullable[str]*                                                                                          | :heavy_minus_sign:                                                                                               | Default text model for this workspace                                                                            | openai/gpt-4o                                                                                                    |
| `description`                                                                                                    | *OptionalNullable[str]*                                                                                          | :heavy_minus_sign:                                                                                               | New description for the workspace                                                                                | Updated description                                                                                              |
| `io_logging_api_key_ids`                                                                                         | List[*int*]                                                                                                      | :heavy_minus_sign:                                                                                               | Optional array of API key IDs to filter I/O logging                                                              | null                                                                                                             |
| `io_logging_sampling_rate`                                                                                       | *Optional[float]*                                                                                                | :heavy_minus_sign:                                                                                               | Sampling rate for I/O logging (0.0001-1)                                                                         | 1                                                                                                                |
| `is_data_discount_logging_enabled`                                                                               | *Optional[bool]*                                                                                                 | :heavy_minus_sign:                                                                                               | Whether data discount logging is enabled                                                                         | true                                                                                                             |
| `is_observability_broadcast_enabled`                                                                             | *Optional[bool]*                                                                                                 | :heavy_minus_sign:                                                                                               | Whether broadcast is enabled                                                                                     | false                                                                                                            |
| `is_observability_io_logging_enabled`                                                                            | *Optional[bool]*                                                                                                 | :heavy_minus_sign:                                                                                               | Whether private logging is enabled                                                                               | false                                                                                                            |
| `name`                                                                                                           | *Optional[str]*                                                                                                  | :heavy_minus_sign:                                                                                               | New name for the workspace                                                                                       | Updated Workspace                                                                                                |
| `slug`                                                                                                           | *Optional[str]*                                                                                                  | :heavy_minus_sign:                                                                                               | New URL-friendly slug (lowercase alphanumeric segments separated by single hyphens, no leading/trailing hyphens) | updated-workspace                                                                                                |