Skip to main content

Server health

Auth: Public (rate limited) Quick liveness check, use this for load balancer health probes or uptime monitoring.

Response

Status codes: 200 healthy

Example


Database health

Auth: API Key required Detailed diagnostic, checks the SQLite database connection, file permissions, and table record counts.

Response

database.connected
boolean
Whether the database connection is active.
database.path
string
Absolute path to the database file.
database.size
string
Database file size.
database.permissions
string
Octal file permissions.
database.tables
object
Record counts per table. Useful for verifying migrations applied correctly.
database.warning
string
Optional warning (e.g. unusual permissions).
database.security_warning
string
Optional warning when the database file’s permissions are less restrictive than 600.
database.file_error
string
Optional error message if the database file’s permissions or size couldn’t be read.
database.table_error
string
Optional error message if table record counts couldn’t be retrieved.
Status codes: 200 healthy · 503 database connection failed

Example