Document apiReferenceHistory
history.get
Query the current undo/redo history state of the document.
read-onlyidempotent
doc.history.get(…)Expected result
Returns a HistoryState object with undoDepth, redoDepth, canUndo, canRedo, and a list of history-unsafe operations.
Inputs
This operation takes no input fields.
Result
Output fields
undoDepthintegerrequiredredoDepthintegerrequiredcanUndobooleanrequiredcanRedobooleanrequiredhistoryUnsafeOperationsstring[]requiredRaw schemas
Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.
View raw JSON schemas