Uploading an unreleased quarterly financial statement, an executive severance agreement, or a proprietary clinical research protocol into a document AI tool feels reckless. For corporate legal counsel, financial auditors, and compliance officers, the immediate fear is visceral: Will this document be sucked into an LLM training corpus? Does the platform store raw files indefinitely on insecure cloud buckets? What happens when I hit "Delete"?
At 365Finds, we look past marketing promises and examine production architectures, vendor data agreements, and code implementations.
Here is the direct answer: PDF.ai does not train foundational AI models on your uploaded documents, nor do its underlying model providers (OpenAI and Anthropic). However, by default, standard uploads do retain raw PDF files in AWS S3 and vector representations in Pinecone until you delete them.
If your organization operates under strict zero-retention mandates, PDF.ai provides an explicit, underutilized architectural safeguard—the Private Document toggle—that completely bypasses cloud raw-file storage. Here is how PDF.ai handles cloud retention, encryption standards, model training boundaries, and document destruction.
1. AI Model Training: Does Your Confidential Data Feed the Model?
The short answer is no. Neither PDF.ai nor its upstream model infrastructure uses your uploaded files or prompts to train public or foundational models.
The Upstream API Contractual Barrier
A persistent misunderstanding among enterprise compliance teams stems from the confusion between consumer ChatGPT interfaces and commercial developer APIs.
While free consumer AI interfaces historically allowed data retention for training unless opted out, commercial API endpoints operate under entirely different legal and technical terms:
- Underlying Models: PDF.ai relies on enterprise API endpoints from OpenAI (such as GPT-4o-mini) and Anthropic (such as Claude 3.5 Sonnet).
- No Training on API Data: Under OpenAI’s commercial API business terms (effective March 1, 2023) and Anthropic’s commercial terms, data sent via commercial APIs is explicitly not used to train base models. Prompts, extracted text chunks, and generated completions are walled off from training pipelines.
- Enterprise Fine-Tuning Isolation: Custom weights or fine-tuned instances belong solely to the customer account and never bleed across tenants.
The Abuse Monitoring Window vs. Zero Data Retention (ZDR)
While commercial APIs do not train on customer inputs, standard API terms permit providers to store requests for up to 30 days in secure, access-restricted abuse monitoring logs to detect platform misuse. These logs are encrypted, isolated from human operators unless triggered by automated safety filters, and permanently discarded after 30 days.
For 365Finds, this distinction matters: your trade secrets will not reappear in another user's prompt completion, but the text chunks passed during retrieval-augmented generation (RAG) do transit upstream API providers under standard 30-day monitoring retention unless an enterprise customer operates under a negotiated Zero Data Retention (ZDR) agreement.
2. Cloud Storage Architecture: Where Documents Actually Live
When you upload a file through the PDF.ai web console or REST API, the platform breaks the document into distinct storage artifacts across three core layers:
| Component | Storage Destination | Encryption Standard | Lifecycle / Purpose |
|---|---|---|---|
| Raw Binary PDF | AWS S3 (looseleaf-app, US-East-2) | AES-256 (Server-Side Encryption) | Powers in-browser document preview; retained until deleted |
| Vector Embeddings | Pinecone Vector Database | AES-256 at rest, TLS 1.3 in transit | Indexed semantic text chunks for RAG queries; deleted upon doc removal |
| Metadata & Chat Logs | Application Database | AES-256 at rest | Stores document IDs, user tags, chat query histories, and usage limits |
Data in Transit
All communication between your local browser, PDF.ai web application servers, AWS S3 storage buckets, Pinecone vector clusters, and OpenAI/Anthropic inference endpoints is forced over TLS 1.3 / HTTPS. Unencrypted transport is blocked.
Data at Rest
Raw documents are written to AWS S3 buckets hosted in the US East (Ohio) region. AWS S3 provides default AES-256 encryption (SSE-S3 or SSE-KMS) and is certified under SOC 2 Type II, ISO 27001, and HIPAA-eligible physical security protocols.
3. The "Private Document" Toggle: Zero Cloud Storage for Raw Files
For compliance officers who cannot tolerate raw contracts or patient records resting in third-party AWS S3 buckets, PDF.ai incorporates an architectural switch: the Private document? checkbox in the upload dialogue.
[ Upload Dialog ]
├── File Input / URL Import
├── Tags (Optional)
├── [✓] Private document? <-- Bypasses AWS S3 upload completely
└── [ ] OCR for scanned documents
What Happens Under the Hood
When you enable "Private document":
- Raw S3 Storage is Bypassed: In PDF.ai's upload logic, checking this box sets the
s3Urlparameter toundefined. The raw PDF binary is never transmitted to or written into AWS S3 cloud storage. - Text Extraction & Vectorization: The browser reads the document content (or extracts page canvas streams via PDF.js), segments the extracted text into chunks, and transmits only the structured text to generate embeddings in the Pinecone vector database.
- The Trade-Off (No In-Browser PDF Preview): Because PDF.ai's cloud servers do not store the underlying binary PDF file, the split-screen PDF document viewer cannot render the original visual PDF pages in your workspace. You interact strictly through the AI chat conversational panel.
- Lifecycle Expiration on Free Accounts: On unpaid Hobby accounts, private documents are automatically purged after 7 days of inactivity. On paid plans, the vector index persists until manually removed.
At 365Finds, we consider the Private Document mode the most practical feature for handling sensitive legal discovery or financial audits. If a subpoena or cloud leak were to target the storage layer, your original PDF binary simply does not exist on PDF.ai servers.
4. Document Deletion Mechanics: How "Delete" Physically Operates
When you click the red "Delete" button in the dashboard or dispatch a deletion request via API, does PDF.ai perform a soft database flag, or does it execute a physical purge?
PDF.ai executes a tri-fold physical deletion:
flowchart TD
A["User triggers 'Delete Document' (UI or API)"] --> B["PDF.ai API Controller (/api/documents/delete)"]
B --> C["Database: Purge Document Record & Chat History"]
B --> D["AWS S3 (/api/s3/delete): Physically Purge Raw PDF Binary"]
B --> E["Pinecone: Delete Vector Embeddings via pineconeId"]
C & D & E --> F["Permanent Physical Destruction Complete"]
- Physical AWS S3 Deletion: An automated call (
/api/s3/delete) deletes the object key from the AWS S3 storage bucket. The binary file is wiped immediately from the live bucket. - Pinecone Vector Removal: The system dispatches a vector deletion payload using the unique
pineconeId, wiping every chunk embedding associated with that specific document. - Relational Database Purge: The primary document row, associated user tags, and historical chat turns are dropped from the application database.
Programmatic Deletion via API
Teams processing programmatic batch contracts can automate zero-retention workflows using PDF.ai’s API endpoints:
- Endpoint:
POST https://pdf.ai/api/v2/delete - Payload:
{"docId": "your-document-id"} - Cost: 0 API credits (unlimited free deletion calls).
Executing this endpoint immediately destroys the document record, the stored PDF file in S3, and any cached parse outputs.
Danger Zone Bulk Purge
In Settings > Account > Danger Zone, PDF.ai provides two nuclear options:
- Delete all documents: Executes a bulk wipe loop across all stored files, S3 objects, and vector records.
- Delete account: Completely purges user identity, billing associations, documents, and chat records. PDF.ai enforces a safeguard requiring all documents to be purged before the account deletion routine can be finalized.
5. 365Finds Enterprise Assessment and Workflow Recommendations
Can an enterprise legal or compliance department approve PDF.ai? 365Finds’ verdict depends strictly on data classification.
The Boundary of Multi-Tenant SaaS
PDF.ai is a multi-tenant software-as-a-service application built on top of AWS, Pinecone, and OpenAI/Anthropic APIs.
- What it delivers: SOC 2 Type II data center infrastructure, AES-256 rest encryption, TLS 1.3 transport security, zero model training on customer data, explicit S3 storage bypass ("Private Document"), and automated tri-fold deletion.
- What it lacks: PDF.ai does not offer self-serve Business Associate Agreements (BAAs) required for HIPAA protected health information (PHI), nor does it provide on-premises air-gapped deployments for classified defense materials.
Recommended Secure Workflow for Sensitive Audits
If you are auditing confidential vendor contracts, tax filings, or intellectual property records on PDF.ai, 365Finds recommends enforcing the following four-step operational protocol:
- Always Enable "Private Document": Check the "Private document?" option during upload. This ensures your raw binary files never touch AWS S3 cloud storage.
- Restrict Team Permissions: If utilizing PDF.ai's Team workspace (Ultimate or Enterprise plans), set non-administrative members to "Can only view PDFs and chat" rather than granting universal upload/deletion permissions.
- Automate Post-Analysis Purging: As soon as contract extraction or Q&A auditing concludes, trigger an immediate delete action via the UI or
POST /api/v2/delete. Do not allow dormant records to sit indefinitely in cloud indexes. - Local Redaction Prior to Upload: For documents containing unmasked payment card numbers, social security numbers, or patient identifiers, apply automated local blacking-out (redaction) prior to running cloud analysis.
PDF.ai offers a transparent, clean technical architecture for document analysis. By understanding its underlying storage layers and utilizing Private Document mode, enterprise teams can extract high-speed AI insights without sacrificing legal confidentiality.