System health check

GEThttps://app.speybooks.com/api/v1/admin/system/health

A 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
databaseobject
Show child attributes
latencyMsinteger
poolobject
Show child attributes
idleCountinteger
totalCountinteger
waitingCountinteger
statusstring
timestampstringdate-time
webhooksobject
Show child attributes
last24hobject
Show child attributes
failedinteger
pendinginteger
processedinteger
totalinteger
recentErrorsarray<object>
statusstring