Skip to main content

Admin API: Stats

# All examples assume $TOKEN is an API key (hv_...)
AUTH="Authorization: Bearer $TOKEN"

Record counts

GET /admin/stats
curl http://localhost:3000/admin/stats -H "$AUTH"

Response: 200 OK

{
"total_records": 12345,
"collections": [{ "collection": "xyz.statusphere.status", "count": 500 }]
}