create_snapshot
Save a labeled version of an existing document before a planned change so you can restore the prior version later.
Instructions
Save a named snapshot of an existing document before a planned change. The snapshot can later be restored with restore_document_version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Snapshot label, from 1 to 200 characters. | |
| documentId | Yes | UUID returned by the corresponding list or read operation. | |
| description | No | Optional snapshot note, at most 1000 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| label | No | ||
| content | Yes | ||
| createdAt | Yes | ||
| createdBy | Yes | ||
| documentId | Yes | ||
| isSnapshot | No | ||
| contentJson | No | ||
| description | No | ||
| restoredFrom | No |