Admin API for read-time masking to hide or transform parts of traced data (spans and traces) as they are returned by the read APIs and UI. All requests require an accessKey and secretKey header pair; see the Authentication section for how to generate these.
API access key generated from the ADOC UI. Both accessKey and secretKey are required on every request. To generate a key pair, see API Keys.
| Key | In | |
|---|---|---|
| accessKey | Header |
API secret key generated from the ADOC UI, paired with accessKey. To generate a key pair, see API Keys.
| Key | In | |
|---|---|---|
| secretKey | Header |
Masking Rules
Create, list, update, and delete read-time masking rules for spans and traces.
List Masking Rules
List all rules in the workspace (enabled and disabled).
A list of masking rules.
The accessKey/secretKey pair is missing or invalid.
Create Masking Rule
Create a new masking rule that either drops matching spans, rewires the trace around them, or redacts specific fields within matching entities.
The masking rule was created.
The request body was invalid.
The accessKey/secretKey pair is missing or invalid.
Toggle Rule Status (Enable/Disable)
Enable or disable an existing masking rule without deleting it.
The updated masking rule.
The accessKey/secretKey pair is missing or invalid.
No rule exists with the given ruleId.
Delete Masking Rule
Delete a rule permanently from the workspace.
The rule was deleted.
The accessKey/secretKey pair is missing or invalid.
No rule exists with the given ruleId.