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

# Diff operations

> Diff operation reference from the canonical Document API contract.

[Back to full reference](https://docs.superdoc.dev/document-api/reference/index.md)

Snapshot-based document comparison and replay.

| Operation | Member path | Mutates | Idempotency | Tracked | Dry run |
| - | - | - | - | - | - |
| [`diff.capture`](https://docs.superdoc.dev/document-api/reference/diff/capture) | `diff.capture` | No | `idempotent` | No | No |
| [`diff.compare`](https://docs.superdoc.dev/document-api/reference/diff/compare) | `diff.compare` | No | `idempotent` | No | No |
| [`diff.apply`](https://docs.superdoc.dev/document-api/reference/diff/apply) | `diff.apply` | Yes | `conditional` | Yes | No |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.