Skip to content

sp ops

Phase: v2
When agents use this: SRE-style diagnostics — read-only by default; mutating ops require --confirm.

Synopsis

Operational endpoints under /vi/storage and /vi/schedule.

Subcommands

SubcommandMethodPathMutating
storage overviewGET/vi/storage/overviewNo
storage diagnosticsGET/vi/storage/diagnosticsNo
storage monitorGET/vi/storage/monitorNo
schedule monitorGET/vi/schedule/monitorNo
storage compactPOST/vi/storage/compactYes (--confirm)
index rebuildPOST/vi/forceRebuildIndexesYes (--confirm)

Examples

bash
sp ops storage overview --json
sp ops storage compact --confirm --json

Agent guidance

Agents should not run mutating ops unless the user explicitly requests maintenance. Default deny without --confirm.