Optimize Storage
Compact every search projection table's Lance fragments, prune verified old snapshots, and checkpoint the graph database. Pre-compaction snapshots remain available to existing readers and are reclaimed after the next backend start. The response reports completed, partial, or refused outcomes and safe table-level details.
Response Body
application/json
curl -X POST "https://example.com/storage/optimize"{ "after_bytes": 0, "before_bytes": 0, "checkpoint_failed": true, "compacted_tables": [ "string" ], "failed_tables": [ "string" ], "fragments_after": 0, "fragments_before": 0, "freed_bytes": 0, "message": "", "outcome": "completed", "reclaim_pending": true, "refusal": "shutting_down", "success": true}