Documents

Upsert Document Summary

Changed on

Create or update a document summary with optional versioning.

put/documents/{document_id}/summary

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}/summary
  • Auth
    none declared

Path parameters

document_idstring required

Headers

authorizationstring nullable

Request body

contentstring required

Summary content to persist (markdown/text)

versioningboolean

When true, automatically increments the summary version instead of overwriting the latest version

overwrite_latestboolean

Allow overwriting the latest summary when versioning is disabled

Response

Successful Response

contentstring required
storage_keystring required
bucketstring nullable
versioninteger required
updated_atstring 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

    • info

      endpoint added