id | str | :heavy_check_mark: | The workspace ID (UUID) or slug | production |
http_referer | Optional[str] | :heavy_minus_sign: | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application.
| |
x_open_router_title | Optional[str] | :heavy_minus_sign: | The app display name allows you to customize how your app appears in OpenRouter’s dashboard.
| |
x_open_router_categories | Optional[str] | :heavy_minus_sign: | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings.
| |
default_image_model | OptionalNullable[str] | :heavy_minus_sign: | Default image model for this workspace | openai/dall-e-3 |
default_provider_sort | OptionalNullable[str] | :heavy_minus_sign: | Default provider sort preference (price, throughput, latency, exacto) | price |
default_text_model | OptionalNullable[str] | :heavy_minus_sign: | Default text model for this workspace | openai/gpt-4o |
description | OptionalNullable[str] | :heavy_minus_sign: | New description for the workspace | Updated description |
io_logging_api_key_ids | List[int] | :heavy_minus_sign: | Optional array of API key IDs to filter I/O logging | null |
io_logging_sampling_rate | Optional[float] | :heavy_minus_sign: | Sampling rate for I/O logging (0.0001-1) | 1 |
is_data_discount_logging_enabled | Optional[bool] | :heavy_minus_sign: | Whether data discount logging is enabled | true |
is_observability_broadcast_enabled | Optional[bool] | :heavy_minus_sign: | Whether broadcast is enabled | false |
is_observability_io_logging_enabled | Optional[bool] | :heavy_minus_sign: | Whether private logging is enabled | false |
name | Optional[str] | :heavy_minus_sign: | New name for the workspace | Updated Workspace |
slug | Optional[str] | :heavy_minus_sign: | New URL-friendly slug (lowercase alphanumeric segments separated by single hyphens, no leading/trailing hyphens) | updated-workspace |
retries | Optional[utils.RetryConfig] | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | |