Skip to main content
GET
/
v1
/
admin
/
health
curl https://portal-api.7331.org/v1/admin/health \
  -b "psession=YOUR_SESSION"
{
  "status": "healthy",
  "database": true,
  "cache": true,
  "started_at": "2026-03-01T00:00:00Z",
  "db_statistics": {
    "size": 20,
    "checked_in": 18,
    "checked_out": 2,
    "overflow": 0,
    "total": 20,
    "latency_ms": 1.2
  },
  "cache_statistics": {
    "memory_usage_bytes": 1814192,
    "total_keys": 200,
    "connected_clients": 5,
    "uptime_seconds": 86400,
    "evicted_keys": 0,
    "hit_rate": 96.2,
    "total_commands_processed": 75000,
    "latency_ms": 0.3
  },
  "source_hash": "a1b2c3d4e5f6...",
  "errors": []
}

Documentation Index

Fetch the complete documentation index at: https://docs.7331.org/llms.txt

Use this file to discover all available pages before exploring further.

Requires an active session cookie with Admin or higher permissions. Returns the same health information as the public health endpoint, plus source_hash for integrity verification.

Response

status
string
required
Overall system status. One of: healthy, degraded, unhealthy.
database
boolean
required
Database connectivity status.
cache
boolean
required
Cache (Redis) connectivity status.
started_at
string
required
Service start time in ISO 8601 format.
db_statistics
object
required
Database connection pool statistics.
cache_statistics
object
required
Cache server statistics.
source_hash
string
required
SHA-256 hash of all backend source files for integrity verification.
errors
string[]
required
List of error messages, if any.
curl https://portal-api.7331.org/v1/admin/health \
  -b "psession=YOUR_SESSION"
{
  "status": "healthy",
  "database": true,
  "cache": true,
  "started_at": "2026-03-01T00:00:00Z",
  "db_statistics": {
    "size": 20,
    "checked_in": 18,
    "checked_out": 2,
    "overflow": 0,
    "total": 20,
    "latency_ms": 1.2
  },
  "cache_statistics": {
    "memory_usage_bytes": 1814192,
    "total_keys": 200,
    "connected_clients": 5,
    "uptime_seconds": 86400,
    "evicted_keys": 0,
    "hit_rate": 96.2,
    "total_commands_processed": 75000,
    "latency_ms": 0.3
  },
  "source_hash": "a1b2c3d4e5f6...",
  "errors": []
}