v68

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0144101120.9 KB
Documents

Bulk index documents

Replaces the documents in a datasource using paginated batch API calls. Please refer to the bulk indexing documentation for an explanation of how to use bulk endpoints.

post/api/index/v1/bulkindexdocuments

Request body

uploadIdstring required

Unique id that must be used for this bulk upload instance

isFirstPageboolean

true if this is the first page of the upload. Defaults to false

isLastPageboolean

true if this is the last page of the upload. Defaults to false

forceRestartUploadboolean

Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true

datasourcestring required

Datasource of the documents

disableStaleDocumentDeletionCheckboolean

True if older documents need to be force deleted after the upload completes. Defaults to older documents being deleted asynchronously. This must only be set when isLastPage = true

Response

OK