Changes data

quotecloud_end_live_edit

Finish a live editing pass. Saves the live document to its data file and keeps the content from before the pass as a saved version, returned as beforeVersion with a ready quotecloud_compare argument pair (left: that version, right: current), so you can check your work visually. Ending again returns the same beforeVersion, and only the user whose agent opened the pass can end it. The document stays live for people already in it; about 30 minutes after your last write, with nobody in it, it returns to its data file on its own. Requires documents:write.

Inputs

documentIdRequired
A Convex document ID or company-scoped numeric display ID. string