Developer docs

ChatGPT plugin

Reference for the Redact PDF AI plugin in ChatGPT: install it, sign in, upload links, download links, restore_names, tools and limits of the remote MCP server.

ChatGPT plugin

Redact PDF AI is listed in ChatGPT's plugin directory. The plugin connects ChatGPT to a remote MCP server: you sign in once with your redact-pdf.ai account, then ask ChatGPT to redact or pseudonymize a document. No API key, nothing to install.

  • Server URL: https://chatgpt.mcp.redact-pdf.ai/mcp
  • Directory listing: Redact PDF AI in ChatGPT
  • Sign-in: OAuth 2.1 with your redact-pdf.ai account. The plugin acts only on that account.

This page is the technical reference. For a plain-language, step-by-step walkthrough, see the guide for ChatGPT users.

Redact a loan agreement in an AI chat: only names and organizations, always the date of birth and the reference number, never the lender.

Add it

Open the directory listing and install the plugin, or search for Redact PDF AI among the plugins in ChatGPT. Sign in with your redact-pdf.ai account when ChatGPT asks. After that, mention Redact PDF AI in a chat or just ask ChatGPT to redact a document.

The plugin needs a redact-pdf.ai account: every tool asks you to sign in first.

How a file reaches the plugin

A remote server cannot read your disk, so the plugin gets the file one of two ways:

  1. Upload link (the default). create_upload_link returns a private page on www.redact-pdf.ai, valid for 30 minutes, for one PDF up to 50 MB or one JPEG or PNG up to 10 MB. You choose the file there; it goes from your browser straight to our storage and never passes through the chat. ChatGPT then starts the redaction with the upload_id. One link makes one job: a second file needs a new link.
  2. Small files inline. Files under 1 MB can be passed as file_base64. That puts the document into the conversation, so the upload link is the better choice for anything sensitive.

PDF, JPEG and PNG are accepted, scans and phone photos included. A file you attach in the chat is already stored by OpenAI; the upload link keeps the original out of the conversation.

What comes back

  • Redacted PDF: a download_url to a page with a Download button, valid for 15 minutes. A plain request (a link preview, a fetch tool) never receives the file; only a click does.
  • Pseudonymize mode: the document as text with tags such as [Person 1] in place of names (document_text), and a correspondence_download_url for the tag → original table. Long texts come back as their start plus a signed document_text_url.
  • Counts per category. Results carry document ids, never your file names.

Each redaction makes a new copy: your own file is never changed. Links are bound to one document and its owner, and re-check ownership and retention when they are opened.

Pseudonymize, work, put the names back

Pseudonymize a document, let the assistant work on the tagged text, then put the real names back on our side.
  1. Ask for a pseudonymized copy. ChatGPT works on document_text, where names are tags.
  2. ChatGPT writes its answer (a summary, a letter) and keeps the tags as written.
  3. restore_names takes the document_id, the text_version that came with the text, and ChatGPT's text (up to 500,000 characters). We put the real names back on our side and return a 15-minute restored_download_url for you to open. ChatGPT gets counts and any tags it could not restore, never a name.

If the document was edited or detected again in the Studio after the text was produced, the restore is refused (text_changed) instead of putting in names that a tag no longer stands for. The restored file is deleted after an hour, or at once with the document.

Tools

ToolWhat it does
create_upload_linkPrivate upload page for the file, valid 30 minutes.
redact_pdf_and_waitRedact or pseudonymize into a new copy and wait for the result (up to 180 seconds, then it returns the job id to resume with).
redact_pdfStart a job and return immediately, for several documents in parallel.
get_job_statusCheck a job: uploaded → analyzing → redacting → redacted or error.
download_redactedA fresh download link for a finished document.
download_correspondenceA fresh link to the tag → original table of a pseudonymized document.
restore_namesPut the real names back into ChatGPT's tagged text, on our side.
delete_jobDelete a document and everything kept from it now. ChatGPT confirms with you first.
get_account_statusCheck which account is signed in.

The redaction tools take the same options as the API: mode, pii_categories, pii_included_terms (always redact), pii_excluded_terms (never redact) and retention. See PII categories and Redaction rules.

Limits

LimitValue
Wait inside one tool call180 seconds, then resume with get_job_status
Calls per minute120 per signed-in user
Redactions running at once2 per user
Inline file (file_base64)Under 1 MB; use an upload link for anything larger
Restored textUp to 500,000 characters in, 5 million out

A refused call comes back as a tool error with retry_after_seconds, so ChatGPT can wait and retry.

Privacy

  • With the upload link, the file goes from your browser to our storage, not through the chat.
  • In redact mode ChatGPT never sees the removed text.
  • In pseudonymize mode ChatGPT sees the document with tags in place of names. Everything that is not a detected entity stays in that text.
  • Documents are processed on Microsoft Azure in the EU and Switzerland and are never used to train AI models.
  • Want nothing about the document to reach the AI? Use the local MCP server in a desktop client instead.

Details: Privacy policy, AI assistants section.

Related pages