operation: "edit". Doconda changes only what you ask
and leaves the rest identical. New content copies the document’s formatting, so an added clause follows the numbering
and look of the existing ones.
Steps
- Store your API key in
DOCONDA_API_KEYand install the SDK (pip install docondaornpm install @doconda/sdk). - Upload the Word file with
files.upload, or use thedoc_…ID of a document Doconda already made. - Ask for the change, read the report and download the result.
added, changed or removed) with the new text, and saves the edited file.
What you get back
- The same Word file with only the requested changes, plus its PDF.
- The report (
documents.report(id)): inchanges, each paragraph added, changed or removed, with the text before and after. - Before delivery, the agent checks its file and the rendered pages and fixes what it finds.
status:readyorfailed. Failed edits are not charged.
Limits and price
- Up to 50 pages. A
.docis accepted and comes back as.docx. - Tracked changes and comments work at every level. With
quality: "auto", asking for them picksbest. - An edit costs €0.10 at
fast, €0.30 atstandardand €1.00 atbest. See pricing.
FAQ
Why not ask the model to rewrite the document?
Why not ask the model to rewrite the document?
Rewriting it whole tends to lose styles, numbering and tables. With
edit, the rest of the document stays
identical and new content follows its formatting.Does it work with PowerPoint, Excel and PDF?
Does it work with PowerPoint, Excel and PDF?
Yes, with the same call. Each comes back in its own format: a PDF comes back as a PDF.
What if someone fixes the Word file by hand afterwards?
What if someone fixes the Word file by hand afterwards?
Save it over the same document with
documents.updateFile(id, file) (PUT /v1/documents/{id}/file): it uses no
AI and is free. See Save a hand-edited file.