Templates

Read a document into a template body

Takes the pages of a contract as pictures and returns them as markdown, so an owner can replace a template body with a document they already have. The pages are drawn by the caller, because nothing on the account opens a PDF. This sends the pages to a model, and the transcription is a draft: nothing is written to any template until the owner saves it.

post/api/v1/templates/import

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/templates/import
  • Auth: API key in cookie better-auth.session_token

Response

The document as markdown.

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.