Skip to content

Change the data controls (owners only)

PATCH
/org/data-controls
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 }'
Media typeapplication/json
object
zero_retention
boolean
checkpoints
boolean
monitoring
boolean
mask_identifiers
boolean
log_retention_days
integer
>= 180 <= 3650

Example generated

{
"zero_retention": true,
"checkpoints": true,
"monitoring": true,
"mask_identifiers": true,
"log_retention_days": 1
}

The new data controls

Media typeapplication/json
object
log_retention_days
required

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.

integer
>= 180 <= 3650
mask_identifiers
required

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.

boolean
zero_retention
required

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.

boolean
checkpoints
required

Memory checkpoints. Off: sandboxes sleep without memory (the next wake is a cold start), and copies, races, checkpoints and periodic checkpoints are refused.

boolean
monitoring
required

Activity detail from inside sandboxes: agent runs, tool timelines, command history and process lists. Off: none is collected; usage totals for billing still are.

boolean

Example generated

{
"log_retention_days": 1,
"mask_identifiers": true,
"zero_retention": true,
"checkpoints": true,
"monitoring": true
}

The request is invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

Only an owner can do this (owner_only), or the invitation is for another address (not_invited)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}