Skip to main content
PATCH
Update workspace settings
This endpoint requires a management API key with settings:write.
Routing and provider-policy changes refresh affected gateway caches and are recorded in the workspace audit log.

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
routing_mode
enum<string>
Available options:
balanced,
price,
latency,
throughput
beta_channel_enabled
boolean
alpha_channel_enabled
boolean
response_healing_enabled
boolean
response_healing_locked
boolean
response_healing_mode
enum<string>
Available options:
safe,
strict
byok_fallback_enabled
boolean
privacy_enable_paid_may_train
boolean
privacy_enable_free_may_train
boolean
privacy_enable_free_may_publish_prompts
boolean
privacy_enable_input_output_logging
boolean
privacy_zdr_only
boolean
io_logging_enabled
boolean
io_logging_include_provider_payloads
boolean
provider_restriction_mode
enum<string>
Available options:
none,
allowlist,
blocklist
provider_restriction_provider_ids
string[]
Maximum array length: 64
Maximum string length: 128
provider_restriction_enforce_allowed
boolean

Response

Updated workspace settings

data
object
required
Last modified on August 30, 2026