Documents

Update Document File

Changed on

Update a document by replacing its content with a new file and queueing re-ingestion.

post/documents/{document_id}/update_file

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/documents/{document_id}/update_file
  • Auth
    none declared

Path parameters

document_idstring required

Headers

authorizationstring nullable

Request body multipart/form-data

filestring binary required
metadatastring
metadata_typesstring
use_colpaliboolean nullable

Response

Successful Response

external_idstring
content_typestring required
filenamestring nullable
metadataobject
metadata_typesobject
storage_infoobject
system_metadataobject
additional_metadataobject
chunk_idsstring[]
summary_storage_keystring nullable
summary_versioninteger nullable
summary_bucketstring nullable
summary_updated_atstring nullable
folder_namestring nullable
end_user_idstring nullable
app_idstring nullable
folder_pathstring nullable
folder_idstring nullable

Changes

    • info

      header request parameter authorization list-of-types was widened by adding types null

    • info

      for the header request parameter authorization, the type was generalized from string to no type

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status