Skip to main content
PUT
Replace the org's selective-recording policy

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Body

application/json
rules
object[]
required
Maximum array length: 200
enabled
boolean

Master on/off for the policy engine. Defaults to true when omitted.

defaultRecordPercent
number | null

Deterministic sampling percentage applied when no rule matches.

Required range: 0 <= x <= 100

Response

The normalised, persisted recording policy

data
object

Normalised, fully-populated recording policy as returned on the wire (snake_case projection).

meta
object