Describes the request body of the /bulkindexdocuments API call
| Field | Type | Required | Description |
|---|---|---|---|
upload_id |
str | ✔️ | Unique id that must be used for this bulk upload instance |
is_first_page |
Optional[bool] | ➖ | true if this is the first page of the upload. Defaults to false |
is_last_page |
Optional[bool] | ➖ | true if this is the last page of the upload. Defaults to false |
force_restart_upload |
Optional[bool] | ➖ | Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true |
datasource |
str | ✔️ | Datasource of the documents |
documents |
List[models.DocumentDefinition] | ✔️ | Batch of documents for the datasource |
disable_stale_document_deletion_check |
Optional[bool] | ➖ | 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 |