Skip to main content
PATCH
Update workspace I/O logging policy
This endpoint requires a management API key with settings:write.
Retention must be between 90 and 365 days. Disabling logging also disables the workspace input/output logging privacy gate.

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
enabled
boolean
retention_days
integer
Required range: 90 <= x <= 365
include_provider_payloads
boolean

Response

Updated logging policy

data
object
required
Last modified on August 30, 2026