Repository navigation
API Health
github-actions[bot] edited this page Oct 14, 2026
·
3 revisions
Canonical source:
docs/12-reference/api-reference-health.md— this page is rendered from it on every publish; edit the source.
Base URL: http://localhost:4000/api/v1 (via nginx) or http://localhost:4009/api/v1 (direct)
Aggregated health check across every other backend service.
Auth: Public Response 200:
{
"status": "healthy",
"timestamp": "2026-04-11T10:00:00.000Z",
"services": [
{
"name": "auth-service",
"status": "up",
"responseTimeMs": 12,
"error": null
},
{
"name": "chat-service",
"status": "up",
"responseTimeMs": 15,
"error": null
},
{
"name": "connector-service",
"status": "up",
"responseTimeMs": 8,
"error": null
},
{
"name": "routing-service",
"status": "up",
"responseTimeMs": 10,
"error": null
},
{
"name": "memory-service",
"status": "up",
"responseTimeMs": 11,
"error": null
},
{
"name": "file-service",
"status": "up",
"responseTimeMs": 9,
"error": null
},
{
"name": "audit-service",
"status": "up",
"responseTimeMs": 14,
"error": null
},
{
"name": "ollama-service",
"status": "up",
"responseTimeMs": 20,
"error": null
},
{
"name": "client-logs-service",
"status": "up",
"responseTimeMs": 7,
"error": null
},
{
"name": "server-logs-service",
"status": "up",
"responseTimeMs": 8,
"error": null
},
{
"name": "image-service",
"status": "up",
"responseTimeMs": 12,
"error": null
},
{
"name": "file-generation-service",
"status": "up",
"responseTimeMs": 11,
"error": null
}
],
"summary": {
"total": 12,
"up": 12,
"down": 0
}
}Degraded response (some services down):
{
"status": "degraded",
"services": [
{ "name": "auth-service", "status": "up", "responseTimeMs": 12, "error": null },
{
"name": "ollama-service",
"status": "down",
"responseTimeMs": null,
"error": "Connection refused"
}
],
"summary": { "total": 12, "up": 11, "down": 1 }
}Unhealthy response (all services down):
{
"status": "unhealthy",
"summary": { "total": 12, "up": 0, "down": 12 }
}| Overall Status | Condition |
|---|---|
healthy |
All services are up |
degraded |
Some services are up, some are down |
unhealthy |
All services are down |
| Service Status | Meaning |
|---|---|
up |
Service responded within timeout |
down |
Service failed to respond or returned error |
- Timeout: 5000ms per service
-
Checked services: every other backend service (auth through plugin; the list is
SERVICE_URLSinapps/claw-health-service/src/modules/health/constants/health.constants.ts) -
Endpoint hit:
GET /api/v1/healthon each service - Parallel: All checks run concurrently
Every service (except health-service) exposes its own health endpoint:
GET http://<service>:<port>/api/v1/health
These return { "status": "ok" } and are used by the health service aggregator.
curl:
# Aggregated health
curl http://localhost:4000/api/v1/health
# Individual service health
curl http://localhost:4001/api/v1/health # auth
curl http://localhost:4002/api/v1/health # chat
curl http://localhost:4003/api/v1/health # connector
curl http://localhost:4004/api/v1/health # routing
curl http://localhost:4005/api/v1/health # memory
curl http://localhost:4006/api/v1/health # file
curl http://localhost:4007/api/v1/health # audit
curl http://localhost:4008/api/v1/health # ollama
curl http://localhost:4010/api/v1/health # client-logs
curl http://localhost:4011/api/v1/health # server-logs
curl http://localhost:4012/api/v1/health # image
curl http://localhost:4013/api/v1/health # file-generationClawAI Wiki · source-controlled under wiki/ · generated/mirrored from the current repository knowledge layer.
ClawAI Wiki
Product
- Product-Vision
- Flagship-Features
- Business-Overview
- Requirements-Register
- Drift-Log
- Runtime-Managed-Connector-Providers
- Threads
- ADR-Index
Architecture
- System-at-a-Glance
- Architecture-Map
- System-Architecture
- Message-Flow
- End-to-End-Data-Flow
- Routing-Engine
- Event-Bus
- Security-Architecture
Platform
- Backend-Services
- Frontend-Architecture
- Shared-Packages
- Database-Reference
- API-Reference
- Provider-Catalog
- Memory-and-Context-Architecture
- File-Support-Architecture
- Research-and-Web-Crawling
Runtime & Ops
- Docker-Guide
- Nginx-Reference
- CI-CD-Pipeline
- Logging-and-Observability
- Operational-Runbooks
- Troubleshooting
Quality
Engineering OS
- AI-Native-Engineering-OS
- Generated-Manifests
- Rules-Catalog
- Skills-Catalog
- Context-Layer
- Engineering-Memory
- Tooling-and-Automation
- Scripts-and-Operations
- ESLint-and-Architecture-Enforcement
- Extended-Work-Skills
Agents
Reference