Documentation Index
Fetch the complete documentation index at: https://docs.vigolium.com/llms.txt
Use this file to discover all available pages before exploring further.
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
| Value | Meaning |
|---|---|
ready | All checks passed |
degraded | Some non-critical checks failed (e.g., optional tool missing, browser disabled) |
not_ready | Critical checks failed (database or agent unavailable) |
Check Statuses
Each individual check returns one of:ok, warning, error.
Checks Performed
| Check | Critical | Description |
|---|---|---|
database | Yes | Pings the database with a 2s timeout |
agent | Yes | Resolves the configured olium provider and confirms credentials are available |
queue | No | Reports queue depth and error counts |
browser | No | Checks agent-browser binary if enabled in config |
tools.chromium | No | Checks for chromium/chrome binary (fallbacks: chromium-browser, google-chrome, google-chrome-stable) |
templates_dir | No | Verifies prompt templates directory exists and contains .md files |
sessions_dir | No | Verifies agent sessions directory exists and is writable |
CLI Equivalent
The same checks are available via the CLI without a running server:queue check since the queue is only available when the server is running.