> ## 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.

# ListWorkspacesResponse - TypeScript SDK

> ListWorkspacesResponse type definition

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

## Example Usage

```typescript expandable lines theme={null}
import { ListWorkspacesResponse } from "@openrouter/sdk/models/operations";

let value: ListWorkspacesResponse = {
  result: {
    data: [
      {
        createdAt: "2025-08-24T10:30:00Z",
        createdBy: "user_abc123",
        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",
      },
    ],
    totalCount: 1,
  },
};
```

## Fields

| Field    | Type                                                                                                 | Required             | Description | Example                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| -------- | ---------------------------------------------------------------------------------------------------- | -------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `result` | [models.ListWorkspacesResponse](/client-sdks/typescript/api-reference/models/listworkspacesresponse) | :heavy\_check\_mark: | N/A         | `{"data": [{"created_at": "2025-08-24T10:30:00Z","created_by": "user_abc123","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","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"}`<br />],<br />"total\_count": `1<br/>`} |
