Skip to Content
DocsUsageArchives

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/, and kg.json (friendly graph name).

Endpoints

  • POST /api/corpus/archive/create: Create archive of current working set
  • GET /api/corpus/archive/list: List archives with size and metadata
  • POST /api/corpus/archive/restore: Body { name } — Restore the selected archive
  • POST /api/corpus/archive/rename: Body { from, to } — Rename archive
  • POST /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 clean input/ and output/.
Last updated on