Skip to content

The notification server exposes two unauthenticated endpoints for monitoring and observability: a standardized health check and a Prometheus-compatible metrics scrape endpoint. Use these to verify service availability, inspect process metadata, and integrate with monitoring infrastructure.

Returns the standardized health response. Unauthenticated. Always returns HTTP 200 with application/json when the service is up.

This endpoint takes no parameters.

Terminal window
curl -X GET https://api.hoody.com/api/v1/notifications/health
NameTypeRequiredDescription
statusstringYesHealth status. Always "ok" when the service is running.
servicestringYesService identifier.
builtstringNoExecutable mtime as RFC3339 string. null if unavailable.
startedstringYesProcess start time as RFC3339 string.
memoryobjectNoProcess memory usage snapshot. null if unavailable.
fdsintegerNoCount of open file descriptors. null if unavailable.
pidintegerYesProcess ID.
ipstringYesBound IP address.
userAgentstringNoClient user agent string. null if unavailable.
NameTypeRequiredDescription
rssinteger (int64)YesResident set size in bytes.
heapinteger (int64)NoLanguage runtime heap in bytes. null for Rust services.

Returns server metrics in Prometheus text exposition format. Unauthenticated and safe to scrape from a Prometheus server or compatible collector.

This endpoint takes no parameters.

Terminal window
curl -X GET https://api.hoody.com/api/v1/notifications/metrics