The API exposes a small set of health endpoints suitable for uptime monitors, status-page integrations, and agent freshness gates.Documentation Index
Fetch the complete documentation index at: https://docs.sdk.anghami.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints
| Endpoint | What it returns |
|---|---|
GET https://sdk.anghami.com/healthz | Plain 200 OK if the API process is alive. No body. |
GET https://sdk.anghami.com/readyz | 200 OK with a JSON body describing readiness, including dependency states. 503 if a critical dependency is unavailable. |
Liveness vs readiness
- Liveness (
/healthz) — “is the process up?” Use it for load-balancer probes and crash detection. Always cheap and unauthenticated. - Readiness (
/readyz) — “is the process ready to serve traffic?” Reflects upstream dependencies. Authenticated callers may see richer detail.
Readiness body
status may be ok, degraded, or unavailable. degraded means some non-critical dependency is unhealthy — the API still serves most traffic but specific RPCs may return ERROR_CODE_UNAVAILABLE.
Caching
/healthzand/readyzare never cached (Cache-Control: no-store). Fresh on every fetch.- Don’t poll these aggressively from clients — they’re for monitoring infrastructure, not in-app retry logic. For in-app retry, just retry your actual call with back-off.
CORS
Both endpoints serveAccess-Control-Allow-Origin: *. Safe to fetch from a status page or browser-based monitor.
Status page
A public status page is hosted at status.anghami.com — incidents and maintenance windows surface there. Subscribe via RSS, email, or webhook for incident notifications.Coming soon. The status page is being set up. Until it’s live, watch the SDK repo for service announcements.