Migration

Migrate Document

Changed on

Ingest a migrated source document while preserving its document ID.

post/migrate/document

Request

  • Base URL
    https://api.morphik.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.morphik.ai/migrate/document
  • Auth
    none declared

Headers

authorizationstring nullable

Request body multipart/form-data

filestring binary required
source_document_idstring required
metadatastring
metadata_typesstring
use_colpaliboolean nullable
folder_namestring nullable
end_user_idstring nullable
on_conflict'skip' | 'fail'

Response

Successful Response

status'created' | 'skipped' required

Changes