GET /health
API health check endpoint
GET
Authentication
Not Required:[AllowAnonymous] (Line 13)
Response
string
Always
"healthy" (Line 18)string
Always
"DualMind API is running" (Line 19)string
ISO8601 UTC timestamp at response generation (Line 20)
string
API version (hardcoded
"1.0.0", Line 21)Side Effects
No Database Operations: Static response No Validation: Always returns 200 OKBehavioral Guarantees
Always Succeeds: Cannot fail (no database/external dependencies) Response Time: Sub-millisecond (no I/O operations) Idempotency: YES (identical response every time, except timestamp)Aliases
Identical Endpoint:GET /api/health (Lines 26-38)
- Same response format
- Same authentication requirements
- Frontend compatibility alias (Line 25 comment)
Use Cases
Health Monitoring:- Load balancer health checks
- Kubernetes liveness/readiness probes
- Uptime monitoring services
- Verify API is reachable
- Check API version