prompt with format: "docx". Doconda writes
it, lays it out as a contract (with numbered clauses) and flags in the report any figures, dates or legal citations
that don’t come from your request or your sources.
Steps
- Store your API key in
DOCONDA_API_KEYand install the SDK (pip install docondaornpm install @doconda/sdk). - Describe the contract with the data you already know (parties, amounts, terms) and a style, if you want one.
- Download the Word file and read the report before sending it.
What you get back
- An editable Word file and its PDF.
doc.typesays what kind of document Doconda decided it is (here, a contract). - Warnings in the report:
content.unsupported_fact: a figure, date or fact that isn’t in your request or your sources.content.unsupported_citation·content.citation_to_review: a legal citation (article, law, ruling) that doesn’t come from your sources.
- In
standardandbest,key_data: the document’s amounts, dates, tax IDs and IBANs, with their role (main amount, signing date, due date…). status:ready,ready_with_warnings,needs_revieworfailed(not charged).
Limits
- If the request aims to deceive or cause harm (forgeries, impersonation), it fails with
request_refusedand isn’t charged. - With
quality: "fast"you get the basic style; copying your template’s design needsstandardorbest.
FAQ
Can I base it on my files?
Can I base it on my files?
Yes. Upload them and pass them in
sources (up to 5 documents): Doconda reads them before writing.What if I already have the contract text?
What if I already have the contract text?
Pass it in
content.markdown: it’s used as is and Doconda only lays it out.Can I change a clause later?
Can I change a clause later?
Yes, with
operation: "edit" and the doc_… id. New content follows the numbering of the existing clauses. See
Edit.Does it check that the amount in words matches the figure?
Does it check that the amount in words matches the figure?
Yes:
money.words_mismatch flags it, without correcting it. See Review.