> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.
# GetWorkspaceResponse
## Example Usage
```typescript theme={null}
import { GetWorkspaceResponse } from "@openrouter/sdk/models";
let value: GetWorkspaceResponse = {
data: {
createdAt: "2025-08-24T10:30:00Z",
createdBy: "user_abc123",
defaultGuardrailId: "595d5849-7e86-51fd-a7c0-705c34e4afff",
defaultImageModel: "openai/dall-e-3",
defaultProviderSort: "price",
defaultTextModel: "openai/gpt-4o",
description: "Production environment workspace",
id: "550e8400-e29b-41d4-a716-446655440000",
ioLoggingApiKeyIds: null,
ioLoggingSamplingRate: 1,
isDataDiscountLoggingEnabled: true,
isObservabilityBroadcastEnabled: false,
isObservabilityIoLoggingEnabled: false,
name: "Production",
slug: "production",
updatedAt: "2025-08-24T15:45:00Z",
},
};
```
## Fields
| Field | Type | Required | Description | Example |
| ------ | ------------------------------------------- | -------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `data` | [models.Workspace](../models/workspace.mdx) | :heavy\_check\_mark: | N/A | \{
"created\_at": "2025-08-24T10:30:00Z",
"created\_by": "user\_abc123",
"default\_guardrail\_id": "595d5849-7e86-51fd-a7c0-705c34e4afff",
"default\_image\_model": "openai/dall-e-3",
"default\_provider\_sort": "price",
"default\_text\_model": "openai/gpt-4o",
"description": "Production environment workspace",
"id": "550e8400-e29b-41d4-a716-446655440000",
"include\_byok\_in\_budgets": false,
"io\_logging\_api\_key\_ids": null,
"io\_logging\_sampling\_rate": 1,
"is\_data\_discount\_logging\_enabled": true,
"is\_observability\_broadcast\_enabled": false,
"is\_observability\_io\_logging\_enabled": false,
"name": "Production",
"slug": "production",
"updated\_at": "2025-08-24T15:45:00Z"
} |