Upload a document file and load it into the editor.
Converts the file to HTML with formatting preserved (tables, colors, images). Images are extracted to cloud storage and referenced by URL. Returns the HTML for the frontend editor to display.
AI indexing happens automatically on the first chat message. For API clients who want immediate indexing, pass ?index=true.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Set to 'true' for immediate AI indexing (API clients). Default: conversion only.
Successful Response