AI makes mistakes! Undisk makes recovery instant: every write is versioned, every file is reversible.
See it heal →

What it does

Get the complete version history for a file. Every write, delete, move, and restore is recorded as an immutable version. Each entry includes: version ID, timestamp, acting agent, content hash, and size. Use this to find a version ID before calling restore_version or get_diff. Supports pagination via limit/offset. Filter by agentId and/or since timestamp to narrow results.

Required scope

versions:read

Parameters

ParameterTypeRequiredDescription
pathstringYesFile path to retrieve version history for
limitnumberNoMaximum number of versions to return (default: 50)
offsetnumberNoNumber of versions to skip for pagination
agentIdstringNoFilter versions by the agent that created them
sincestringNoFilter versions created after this ISO 8601 timestamp (e.g., ‘2025-01-15T00:00:00Z’)