Archives
Archives capture the complete working set (input, output, logs, cache) into timestamped folders, allowing you to restore a previous state at any time.
In the UI
- Use the Corpus panel’s Archive button and dropdown to:
- Create an archive of the current graph
- List available archives with sizes
- Restore, rename, or delete archives
Files
- Archives live under
archives/<name>/
and contain:output/
,cache/
,logs/
,input/
, andkg.json
(friendly graph name).
Endpoints
POST /api/corpus/archive/create
: Create archive of current working setGET /api/corpus/archive/list
: List archives with size and metadataPOST /api/corpus/archive/restore
: Body{ name }
— Restore the selected archivePOST /api/corpus/archive/rename
: Body{ from, to }
— Rename archivePOST /api/corpus/archive/delete
: Body{ name }
— Delete archive
Nuke (Reset Working Set)
POST /api/corpus/nuke
with body{ "confirm": "NUKE INDEX" }
moves working data into a timestamped folder and recreates cleaninput/
andoutput/
.
Last updated on