Skip to main content
GET
Get redaction policy
Returns the redaction policy in effect for one data source: the MANDATORY rules Operata manages, merged with your ALLOW and DENY rules. Use it to confirm what a collector applies before you change it. The response’s rulesHash changes whenever the effective rules change, including when Operata updates the mandatory list. For the rule model and path syntax, see Redaction policy.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

GroupID
string<uuid>
required

Your Operata Group ID. Must match the Group ID in your credentials.

Path Parameters

platform
enum<string>
required

Platform: connect (Amazon Connect) or genesys (Genesys Cloud).

Available options:
connect,
genesys
dataSourceType
enum<string>
required

Data source: ctr, cfl, or lexv2 for connect; gcd for genesys.

Available options:
ctr,
cfl,
lexv2,
gcd

Response

The effective policy.

A redaction policy version for one Operata Group and data source.

version
enum<string>
required

Schema version of the document.

Available options:
v1
policyId
string<uuid>
required

ID of this policy version.

platform
string
required

Platform the policy applies to.

Example:

"connect"

dataSourceType
string
required

Data source the policy applies to.

Example:

"ctr"

groupId
string<uuid>
required

Your Operata Group ID.

createdAt
string<date-time>
required

When this policy version was created.

createdBy
string
required

What created this version. system means no policy was ever set and the response holds the defaults only.

Example:

"config-api"

rules
object[]
required

On GET, every rule in effect: the MANDATORY defaults plus your ALLOW and DENY rules. On POST, the ALLOW and DENY rules you stored.

rulesHash
string

SHA-256 hex digest of the effective rule set, independent of rule and field order. Returned on GET only. Compare it between calls to detect a change.