Skip to main content

GET /api/diagnostics, System Readiness Check

Returns a diagnostic report checking database connectivity, agent provider readiness, third-party tools, and directory configuration. Useful for verifying the scanner is ready to operate before starting scans. Auth: Viewer (requires Bearer token)

Top-Level Status

Check Statuses

Each individual check returns one of: ok, warning, error.

Checks Performed

Browser smoke-test on the CLI paths. On the one-shot CLI paths — vigolium doctor and the first-run dependency check — the tools.chromium check goes beyond reading the --version banner: it actually launches the resolved Chromium headless, performing the same DevTools remote-debugging handshake the spider relies on, in an isolated self-cleaning user-data dir, bounded to ~30s. A binary that prints a version but SIGTRAPs / crashes on real launch (seen with some distro Chromium builds) or is missing a runtime shared library is downgraded from ok to warning, carrying a remedy: run vigolium doctor --fix --only chrome to download a working Chrome for Testing, or point spidering.browser_path at a working browser. The server GET /api/diagnostics endpoint leaves this heavy probe off to stay a cheap, poll-safe readout.

CLI Equivalent

The same checks are available via the CLI without a running server:
The CLI version omits the queue check since the queue is only available when the server is running.