Skip to main content

Export documents as NDJSON

GET 

/v1/projects/:project_id/documents/export

Streams a project's documents as newline-delimited JSON — one document object per line, oldest first — for archiving the corpus or shipping it into another system. project_id is required: the export is per-project by design. The rows are the rows the listing returns for the same caller, so a policy that hides a document hides it here too, and withdrawn documents and the reserved /.system/ root are left out.

Request​

Responses​

A newline-delimited stream of documents. Each line is a JSON object with the same fields as Document.