UpdateWorkspaceRequest - TypeScript SDK
UpdateWorkspaceRequest - TypeScript SDK
UpdateWorkspaceRequest type definition
UpdateWorkspaceRequest - TypeScript SDK
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
1 import { UpdateWorkspaceRequest } from "@openrouter/sdk/models"; 2 3 let value: UpdateWorkspaceRequest = {};
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
defaultImageModel | string | ➖ | Default image model for this workspace | openai/dall-e-3 |
defaultProviderSort | string | ➖ | Default provider sort preference (price, throughput, latency, exacto) | price |
defaultTextModel | string | ➖ | Default text model for this workspace | openai/gpt-4o |
description | string | ➖ | New description for the workspace | Updated description |
ioLoggingApiKeyIds | number[] | ➖ | Optional array of API key IDs to filter I/O logging | <nil> |
ioLoggingSamplingRate | number | ➖ | Sampling rate for I/O logging (0.0001-1) | 1 |
isDataDiscountLoggingEnabled | boolean | ➖ | Whether data discount logging is enabled | true |
isObservabilityBroadcastEnabled | boolean | ➖ | Whether broadcast is enabled | false |
isObservabilityIoLoggingEnabled | boolean | ➖ | Whether private logging is enabled | false |
name | string | ➖ | New name for the workspace | Updated Workspace |
slug | string | ➖ | New URL-friendly slug | updated-workspace |