> ## 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 - Go SDK

> CreateWorkspaceRequest type definition

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

## Fields

| Field                             | Type                                           | Required             | Description                                                                                                  | Example                          |
| --------------------------------- | ---------------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------- |
| `DefaultImageModel`               | optionalnullable.OptionalNullable\[`string`]   | :heavy\_minus\_sign: | Default image model for this workspace                                                                       | openai/dall-e-3                  |
| `DefaultProviderSort`             | optionalnullable.OptionalNullable\[`string`]   | :heavy\_minus\_sign: | Default provider sort preference (price, throughput, latency, exacto)                                        | price                            |
| `DefaultTextModel`                | optionalnullable.OptionalNullable\[`string`]   | :heavy\_minus\_sign: | Default text model for this workspace                                                                        | openai/gpt-4o                    |
| `Description`                     | optionalnullable.OptionalNullable\[`string`]   | :heavy\_minus\_sign: | Description of the workspace                                                                                 | Production environment workspace |
| `IoLoggingAPIKeyIds`              | optionalnullable.OptionalNullable\[\[]`int64`] | :heavy\_minus\_sign: | Optional array of API key IDs to filter I/O logging                                                          | `<nil>`                          |
| `IoLoggingSamplingRate`           | `*float64`                                     | :heavy\_minus\_sign: | Sampling rate for I/O logging (0.0001-1)                                                                     | 1                                |
| `IsDataDiscountLoggingEnabled`    | `*bool`                                        | :heavy\_minus\_sign: | Whether data discount logging is enabled                                                                     | true                             |
| `IsObservabilityBroadcastEnabled` | `*bool`                                        | :heavy\_minus\_sign: | Whether broadcast is enabled                                                                                 | false                            |
| `IsObservabilityIoLoggingEnabled` | `*bool`                                        | :heavy\_minus\_sign: | Whether private logging is enabled                                                                           | false                            |
| `Name`                            | `string`                                       | :heavy\_check\_mark: | Name for the new workspace                                                                                   | Production                       |
| `Slug`                            | `string`                                       | :heavy\_check\_mark: | URL-friendly slug (lowercase alphanumeric segments separated by single hyphens, no leading/trailing hyphens) | production                       |
