> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateWorkspaceRequest - Python SDK

> CreateWorkspaceRequest method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

## 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: | Description of the workspace                                                                                 | Production environment workspace |
| `io_logging_api_key_ids`              | List\[*int*]             | :heavy\_minus\_sign: | Optional array of API key IDs to filter I/O logging                                                          | `<nil>`                          |
| `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`                                | *str*                    | :heavy\_check\_mark: | Name for the new workspace                                                                                   | Production                       |
| `slug`                                | *str*                    | :heavy\_check\_mark: | URL-friendly slug (lowercase alphanumeric segments separated by single hyphens, no leading/trailing hyphens) | production                       |
