v1
Re-apply the AI's intended edit on top of the user's current version of one section.
Resolve a concurrent-edit conflict on ONE section. When a user edited a section while the AI was also changing it, this re-applies the AI’s intended change on top of the user’s current text (mode=“redo”), or blends the user’s and AI’s versions into one (mode=“merge”). Returns only the rewritten section HTML. Performs one AI edit and counts as one billable operation.
POST
Re-apply the AI's intended edit on top of the user's current version of one section.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/json
Re-apply the AI's intended change on the user's current section HTML, OR (mode='merge') combine the user's version and the AI's version into one.
Previous
Restore the full conversation and document state for a previous session.Returns complete message history (user and AI), final document HTML with chunk IDs preserved, attachment list, and editor actions (font, color, alignment changes). Use to continue editing a document you started in a prior session. The AI rehydrates with full context of all prior decisions, chunk IDs, and attachments. Pass include_document_html=false to skip the full document body when you only need the conversation.
Next
Re-apply the AI's intended edit on top of the user's current version of one section.

