ReferenceAdmin
Show what a sample would look like after redaction (platform admins and auditors)
POST
/v1/admin/settings/capture/testApplies the built-in rules and the given patterns (or, when patterns is absent, the saved ones) the way capture does, including the 16 KiB truncation. The sample is never stored, logged or audited. 422 invalid_pattern as for the update.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/admin/settings/capture/test" \ -H "Content-Type: application/json" \ -d '{ "sample": "string" }'{ "data": { "redacted": "string", "redactions": 0, "rules": [ { "rule": "string", "count": 0 } ], "truncated": true }}