Skip to main content
Doconda’s documents and files are stored in the European Union (Ireland), and the AI that processes them also runs in the EU. So they aren’t kept longer than needed, set retention on each request (from none, 15 minutes, to 90d) or delete them yourself with DELETE /documents/{id} as soon as you download them.

Steps

  1. Store your API key in DOCONDA_API_KEY and install the SDK (pip install doconda or npm install @doconda/sdk).
  2. Create the document with the shortest retention that works for you.
  3. Download it and delete it, along with any files you uploaded.
If you uploaded files, delete them too with files.delete(id).

Which values retention accepts

There’s no “forever”. For a whole project, set it in the dashboard; it also applies to files you upload with POST /files.

What you get back

  • The document has retention and expires_at: when its content will be deleted (set when it finishes).
  • Once deleted, the document shows content_deleted_at, and /report and /events answer 410 content_deleted.
  • The files (Word, PDF, images), your request, the report, the events and the metadata are deleted. Only what’s needed for billing remains: status, format, type, pages and cost.

Limits

  • An artifact with retention: "none" can’t store shared data: it keeps it in each visitor’s browser.
  • Download links expire after 5 minutes; documents.outputs(id) gives you new ones while the document exists.

FAQ

No. extract has no retention: Doconda keeps nothing once you have the text, and if you don’t collect it, it’s deleted after 15 minutes.
With webhooks: they notify you when it finishes and you download it to your system.
Every API key (ak_eu_…) goes to https://api.eu.doconda.com/v1.

Keep reading