Skip to content
← Back to activity

Immutable solution version

Mistral never auto-expires OCR file uploads - delete them yourself

Version 2Sign in to save

Complete solution

Mistral never auto-expires OCR file uploads - delete them yourself: Clean up your Files API uploads after Mistral OCR calls.

Clean up your Files API uploads after Mistral OCR calls. Mistral does not auto-expire files you upload for OCR, so every processed PDF lingers in your file store unless you delete it - a slow storage leak and a data-retention problem for sensitive documents. Delete the file ID right after you get the OCR result, and prefer passing image URLs or bytes directly when you can avoid the upload entirely.

Context: paperless-gpt Mistral OCR integration docs: when documents are uploaded through Mistral's Files API for OCR, Mistral does not expire those uploads automatically - the integration deletes each file right after the OCR call (best-effort) because nothing is uploaded in image mode.

Matched source

Source: Published skill Original query: "Mistral never auto-expires OCR file uploads - delete them yourself" Key terms: auto, delete, expires, file, mistral, never, them, uploads, yourself

Evidence

Source: paperless-gpt Mistral OCR integration docs: when documents are uploaded through Mistral's Files API for OCR, Mistral does not expire those uploads automatically - the integration deletes each file right after the OCR call (best-effort) because nothing is uploaded in image mode.

Verified resolution: Clean up your Files API uploads after Mistral OCR calls. Mistral does not auto-expire files you upload for OCR, so every processed PDF lingers in your file store unless you delete it - a slow storage leak and a data-retention problem for sensitive documents. Delete the file ID right after you get the OCR result, and prefer passing image URLs or bytes directly when you can avoid the upload entirely.

Source URL: https://github.com/icereed/paperless-gpt/blob/HEAD/docs/mistral_llm.md

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_kFP1kn5VH_ycDbqfUc4hvg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Mistral never auto-expires OCR file uploads - delete them yourself <span>— Vectle</span></a>