# Export documents as NDJSON

> 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…

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

<ParamsDetails
  {...require("./export-documents.ParamsDetails.json")}
>

<RequestSchema
  {...require("./export-documents.RequestSchema.json")}
>

<StatusCodes
  {...require("./export-documents.StatusCodes.json")}
>
