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 |