Working with Protegrity Anonymization APIs
The various APIs provided with Protegrity Anonymization are described here.
For Protegrity Anonymization Python SDK, import the anonsdk module to install and use it. The AnonElement is an essential part of the Protegrity Anonymization Python SDK. For more information about the AnonElement object, refer to Understanding the AnonElement object.
The following table shows the list of REST APIs and Python SDK requests:
| List of APIs | REST APIs | Python SDK |
|---|
| Anonymization Functions | | |
| Anonymize | Yes | Yes |
| Apply Anonymize | Yes | Yes |
| Measure | Yes | Yes |
| Task Monitoring APIs | | |
| Get Job IDs | Yes | Yes |
| Get Job Status | Yes | Yes |
| Get Metadata | Yes | Yes |
| Abort | Yes | Yes |
| Delete | Yes | Yes |
| Statistics APIs | | |
| Get Exploratory Statistics | Yes | Yes |
| Get Risk Metric | Yes | Yes |
| Get Utility Statistics | Yes | Yes |
| Detection APIs | | |
| Get Data Domains | Yes | No*1 |
| Detect Anonymization Information | Yes | No*1 |
| Detect Classification | Yes | No*1 |
| Detect Hierarchy | Yes | No*1 |
*1 - It is not applicable for Protegrity Anonymization Python SDK.
The following APIs are available with Protegrity Anonymization REST API. You can run these APIs using the command line with the curl command. You can also run them using the Swagger UI or a tool like Postman.
The following APIs are available with Protegrity Anonymization. You can import the Protegrity Anonymization in your Python SDK environment, pass the required parameter and data to the Protegrity Anonymization Python SDK requests, and retrieve work with the anonymized output.
Last modified
: June 27, 2025