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

# Workspace - Go SDK

> Workspace 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                              |
| --------------------------------- | ---------- | -------------------- | ------------------------------------------------------------------------------------ | ------------------------------------ |
| `CreatedAt`                       | `string`   | :heavy\_check\_mark: | ISO 8601 timestamp of when the workspace was created                                 | 2025-08-24T10:30:00Z                 |
| `CreatedBy`                       | `*string`  | :heavy\_check\_mark: | User ID of the workspace creator                                                     | user\_abc123                         |
| `DefaultImageModel`               | `*string`  | :heavy\_check\_mark: | Default image model for this workspace                                               | openai/dall-e-3                      |
| `DefaultProviderSort`             | `*string`  | :heavy\_check\_mark: | Default provider sort preference (price, throughput, latency, exacto)                | price                                |
| `DefaultTextModel`                | `*string`  | :heavy\_check\_mark: | Default text model for this workspace                                                | openai/gpt-4o                        |
| `Description`                     | `*string`  | :heavy\_check\_mark: | Description of the workspace                                                         | Production environment workspace     |
| `ID`                              | `string`   | :heavy\_check\_mark: | Unique identifier for the workspace                                                  | 550e8400-e29b-41d4-a716-446655440000 |
| `IoLoggingAPIKeyIds`              | \[]`int64` | :heavy\_check\_mark: | Optional array of API key IDs to filter I/O logging. Null means all keys are logged. | `<nil>`                              |
| `IoLoggingSamplingRate`           | `float64`  | :heavy\_check\_mark: | Sampling rate for I/O logging (0.0001-1). 1 means 100% of requests are logged.       | 1                                    |
| `IsDataDiscountLoggingEnabled`    | `bool`     | :heavy\_check\_mark: | Whether data discount logging is enabled for this workspace                          | true                                 |
| `IsObservabilityBroadcastEnabled` | `bool`     | :heavy\_check\_mark: | Whether broadcast is enabled for this workspace                                      | false                                |
| `IsObservabilityIoLoggingEnabled` | `bool`     | :heavy\_check\_mark: | Whether private logging is enabled for this workspace                                | false                                |
| `Name`                            | `string`   | :heavy\_check\_mark: | Name of the workspace                                                                | Production                           |
| `Slug`                            | `string`   | :heavy\_check\_mark: | URL-friendly slug for the workspace                                                  | production                           |
| `UpdatedAt`                       | `*string`  | :heavy\_check\_mark: | ISO 8601 timestamp of when the workspace was last updated                            | 2025-08-24T15:45:00Z                 |
