Overview
ClearLayers.Ai protects sensitive information and maintain regulatory compliance with our high-performance PDF Redaction API. Unlike simple text-replacement tools, our engine preserves the structural integrity of your PDF while permanently "burning in" black-out redactions over sensitive data.
Whether you need to scrub Personally Identifiable Information (PII) using our pre-built classifiers or target specific internal codes via Regular Expressions (Regex), this API provides a developer-friendly solution for enterprise-grade document sanitization.
ClearLayers.Ai also includes our Text Redaction API where you can pass in text for redaction.
ClearLayers.Ai also includes our PDF Flatten API. In a world where document security and visual consistency are paramount, our ClearLayers PDF Flattening API product provides the industrial-grade solution your enterprise needs. Built on a powerful, open-source graphics engine, our API does more than just merge layers it re-renders your documents with pixel-perfect precision.
Whether you are preparing architectural blueprints for archival, locking down legal contracts, or prepress-optimizing marketing materials, our API ensures that what you see on your screen is exactly what stays on the page. By converting complex, interactive elements into high-resolution rasterized layers, we eliminate the risks of font substitution, shifting layouts, and unauthorized edits.
ClearLayers.Ai also includes our PDF Shrink API. Our ClearLayers PDF Shink API product provides a high-performance solution for reducing the file size of PDF documents through intelligent image resampling and scaling. By applying a custom scale factor to the internal graphical assets of a PDF, it achieves significant compression without sacrificing document legibility.
Slash Cloud Storage Bills: Most cloud providers (AWS S3, Azure Blob, Google Cloud) charge per GB stored. A scaleFactor of 0.5 can reduce a 20MB file to roughly 4-5MB, effectively cutting your monthly storage invoice by 75%.
Highlights
- Entity redaction types include SSN, EMAIL, EIN, PHONE NUMBER, CREDIT CARD, IP ADDRESSES, MAC_ADDRESS. See list for supported redaction entity types at http://www.jcentricity.com/types.html
- Custom Regex Support: Define your own patterns to target proprietary ID formats, internal project names, or unique data strings.
- ClearLayers also includes our PDF Flatten and PDF Shrink API
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Quick Launch
Pricing
Free trial
Dimension | Description | Cost/request |
|---|---|---|
Standard Based Usage | Per successful processing request for shrinking, flattening, or redacting a PDF | $0.05 |
Vendor refund policy
Due to the nature of our digital API services, all sales are final and no refunds will be provided once the service has been provisioned. We encourage customers to utilize our free tier or trial period to evaluate the service before purchasing. If you encounter technical issues or have billing inquiries,
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
API-Based Agents & Tools
API-Based Agents and Tools integrate through standard web protocols. Your applications can make API calls to access agent capabilities and receive responses.
Additional details
Usage instructions
API
ClearLayers API Overview and Usage Instructions
See list of all entity types at http://www.jcentricity.com/types.html
See Swagger API usage doc at http://www.jcentricity.com/swagger.json
See code sample at http://www.jcentricity.com/cls_code_sample.html
1. PDF PII Redaction Service
Remove sensitive information from PDF documents via our known entity types or custom regex patterns
Synchronous Redaction
- Endpoint: POST /aws/api/pdf/redact
- Input: multipart/form-data containing the file form parameter with value 'file:fileName(e.g. test.pdf) and mandatory redaction_config form parameter with json.
- Output: Returns the redacted .pdf file binary.
redaction_config form parameter json:
| Field | Type | Description |
|---|---|---|
| types | array | List of entity types to identify (e.g., EMAIL_ADDRESS, SSN). |
| regex | array | Custom regex patterns. Note: Use escaped backslashes and include beginning b and trailing b (e.g., \\b\\d{3}\\b). if you don't escape backslashes you will get HTTP 500 error |
Asynchronous Redaction (Recommended for Large Files)
-
Endpoint: POST /aws/api/pdf/redact/asynch to receive a jobId.
-
Workflow: Asynchronous. Submit file for jobId, then fetch PDF via GET /aws/api/pdf/redact/jobId/{jobId}. // file available for 4 hrs
2. Text Redaction Service
Identify and remove sensitive entities from plain text strings using our known entity types or custom regex
- Endpoint: POST /aws/api/text/redact
- Content-Type: application/json
Request Body (TextRedactionRequest):
| Field | Type | Description |
|---|---|---|
| text | string | The raw text to process. |
| types | array | List of entity types to identify (e.g., EMAIL_ADDRESS, SSN). |
| mask_char | string | Character used for masking (default: #). |
| regex | array | Custom regex patterns. Note: Use escaped backslashes and include beginning b and trailing b (e.g., \\b\\d{3}\\b). if you don't escape backslashes you will get HTTP 500 error |
| format | string | structured (replaces with tags like [SSN]) or mask (uses mask character). |
Response (TextRedactionResponse):
The service returns a JSON object containing the redacted text (structured), masked text (character-based), and a list of detected_types.
3. PDF Optimization & Utilities
Manage document size and integrity through our specialized utility endpoints.
PDF Shrink (Resolution Scaling)
Significantly reduce PDF file size by scaling image and page resolution.
- Endpoint: POST /aws/api/pdf/shrink
- Input: multipart/form-data containing the file form parameter with value 'file:fileName(e.g. test.pdf)
- Output: Returns the scaled .pdf file binary.
- Parameter: scaleFactor (query parameter).
- 1.0: Resulting Resolution: 100% Original, File Size: No Change
- 0.75: Resulting Resolution: 75%, File Size: 56% of original
- 0.50: Resulting Resolution: 50%, File Size: 25% of original
- 0.33: Resulting Resolution: 33%, File Size: 11% of original
- 0.25: Resulting Resolution: 25%, File Size: 6% of original
- Pro Tip: 0.5 (50%) is generally considered the "sweet spot" for massive file size reduction while keeping the document readable on tablets and laptops.
- Workflow: Asynchronous. Submit file for jobId, then fetch PDF via GET /aws/api/pdf/shrink/jobId/{jobId}. // file available for 4 hrs
PDF Flatten
Converts interactive form fields into non-editable page content to prevent further modification.
- Endpoint: POST /aws/api/pdf/flatten
- Input: multipart/form-data containing the file form parameter with value 'file:fileName(e.g. test.pdf)
- Output: Returns the flattened .pdf file binary.
- Workflow: Asynchronous. Submit file for jobId, then fetch PDF via GET /aws/api/pdf/flatten/jobId/{jobId}. // file available for 4 hrs
Support
Vendor support
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.