Change the data controls (owners only)
const url = 'https://api.global.stillbox.example/v1/org/data-controls';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"zero_retention":true,"checkpoints":true,"monitoring":true,"mask_identifiers":true,"log_retention_days":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.global.stillbox.example/v1/org/data-controls \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "zero_retention": true, "checkpoints": true, "monitoring": true, "mask_identifiers": true, "log_retention_days": 1 }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
Example generated
{ "zero_retention": true, "checkpoints": true, "monitoring": true, "mask_identifiers": true, "log_retention_days": 1}Responses
Section titled “Responses”The new data controls
object
How long the audit log and model call records are kept, in days: at least 180 (CERT-In), a year by default (ADR 0045). Events an audit stream hasn’t delivered yet are kept until it has.
Aadhaar numbers (checked with their check digit), PAN and Indian mobile numbers are masked in model calls before they leave the cell, keeping their last characters (ADR 0045). Off by default.
Sandboxes delete each conversation’s history (harnessd’s record and the agent’s own transcript) an hour after its last turn, and the platform keeps no error text from agent runs.
Memory checkpoints. Off: sandboxes sleep without memory (the next wake is a cold start), and copies, races, checkpoints and periodic checkpoints are refused.
Activity detail from inside sandboxes: agent runs, tool timelines, command history and process lists. Off: none is collected; usage totals for billing still are.
Example generated
{ "log_retention_days": 1, "mask_identifiers": true, "zero_retention": true, "checkpoints": true, "monitoring": true}The request is invalid
object
Example
{ "code": "not_found"}The API key is missing or invalid
object
Example
{ "code": "not_found"}Only an owner can do this (owner_only), or the invitation is for another address (not_invited)
object
Example
{ "code": "not_found"}