> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Create document snapshot

> Create a named version/snapshot of a document's current state before making significant edits. Use this before large rewrites or restructures of documents…

`create_document_snapshot`

Create a named version/snapshot of a document's current state before making significant edits. Use this before large rewrites or restructures of documents OTHER than the user's active document. The snapshot appears in the document's version history and can be restored by the user.

## Parameters

<ParamField path="documentId" type="string" required>
  ID of the document to snapshot.
</ParamField>

<ParamField path="name" type="string" required>
  Descriptive name for this version (e.g. 'Before AI restructure').
</ParamField>
