Skip to main content
Use POST /v3/documents/batch to backfill exports, emails, messages, or other dated records.
Sort the source data oldest to newest, add documentDate to every document.

Backfill in batches

Backfill dated content by setting documentDate on each document, sorting the source records oldest to newest, and sending them in batches. Each request can contain up to 600 documents. Endpoint: POST /v3/documents/batch

Optional: wait for processing to finish

Endpoint: GET /v3/documents/{id} The batch endpoint returns after accepting the documents. If a later step depends on completed memory generation, poll the returned document IDs until both status and dreamingStatus are done.