Update a workspace
Update an existing workspace by ID or slug. Management key required.
Authentication
AuthorizationBearer
API key as bearer token in Authorization header
Path parameters
id
The workspace ID (UUID) or slug
Request
This endpoint expects an object.
default_image_model
Default image model for this workspace
default_provider_sort
Default provider sort preference (price, throughput, latency, exacto)
default_text_model
Default text model for this workspace
description
New description for the workspace
is_data_discount_logging_enabled
Whether data discount logging is enabled
is_observability_broadcast_enabled
Whether broadcast is enabled
is_observability_io_logging_enabled
Whether private logging is enabled
name
New name for the workspace
slug
New URL-friendly slug
Response
Workspace updated successfully
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error