Grist Octri Preview
GET/docs/{docId}/download

Download a document as a SQLite file

Downloads a document's content as a SQLite file. Use nohistory to omit document history and reduce the file size, or template to remove all data and history while retaining the structure.

3 parameters
docIdstringrequired
The UUID of the document to download.
nohistorybooleanoptional
Set to true to remove document history, which can significantly reduce the file size.
templatebooleanoptional
Set to true to remove all data and history while keeping the document structure for use as a template.

1 status code
200Returns the document's content as a SQLite file.

Error handling

docId must be a document UUID that identifies an existing document. nohistory and template, when supplied, must be boolean values.