System health check
GET
https://app.speybooks.com/api/v1/admin/system/healthA detailed system health check for admin monitoring, more
comprehensive than the public /health endpoint. Reports
database latency, connection-pool utilisation, webhook health over
the last 24 hours (total, processed, failed, pending, with a
status indicator), and the most recent webhook errors. The webhook
status is warning if any failures exist, healthy otherwise.
Response
200Health status: DB latency, pool stats, webhook processing rates, and recent errors.
Show response fields
databaseobjectShow child attributes
latencyMsintegerpoolobjectShow child attributes
idleCountintegertotalCountintegerwaitingCountintegerstatusstringtimestampstringdate-timewebhooksobjectShow child attributes
last24hobjectShow child attributes
failedintegerpendingintegerprocessedintegertotalintegerrecentErrorsarray<object>statusstring