**Source URL:** https://limited.veevavault.dev/safety/vault-api/api-reference/21.1/documents/export-documents.md

# Export Documents



The Export Documents API allows you to use the document `id` field to export a set of documents to your Vault's [file staging server](/vault-api/guides/file-staging). For example, you could use [VQL](/vql/getting-started/structuring-sending-queries) to query the `id` of all documents from 2016 where `type__v` = `Promotional Piece`, then pass the results into the Export Documents API. This starts an asynchronous job whose status you can check with the Retrieve Document Export Results API.

You can export the following artifacts for a given document:

* Source document

* Renditions

You can export all versions or choose to export only the latest version.

This API does not support the following:

* Fields

* Attachments

* Audit trails

* Related documents

* Signature Pages

* Overlays

Note that the maximum number of document versions (source files) you can export per request is 10,000.



---

**Previous:** [Delete Multiple Document Relationships](/safety/vault-api/api-reference/21.1/documents/document-relationships/delete-multiple-document-relationships)  
**Next:** [Export Documents](/safety/vault-api/api-reference/21.1/documents/export-documents/export-documents)