Skip to main content
PATCH
Mettre à jour les paramètres de l’espace de travail
Ce point de terminaison nécessite une clé API de gestion avec settings:write.
Les modifications de routage et de politique fournisseur actualisent les caches Gateway concernés et sont consignées dans le journal d’audit de l’espace de travail.

Autorisations

Authorization
string
header
requis

Authentification par jeton Bearer

Corps

application/json
routing_mode
enum<string>
Options disponibles:
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>
Options disponibles:
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>
Options disponibles:
none,
allowlist,
blocklist
provider_restriction_provider_ids
string[]
Maximum array length: 64
Maximum string length: 128
provider_restriction_enforce_allowed
boolean

Réponse

Paramètres de l’espace de travail mis à jour

data
object
requis
Dernière modification le 2 octobre 2026