The health check endpoint provides a lightweight, unauthenticated way to verify that the AI Startup Analyzer API server is running and able to handle requests. It returns a minimal JSON payload with a staticDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Abbaddii-99/AI-Startup-Analyzer/llms.txt
Use this file to discover all available pages before exploring further.
"ok" status and a current server timestamp. Because it involves no database queries, no authentication, and no business logic, it responds in under a millisecond and is safe to poll as frequently as your infrastructure requires.
GET /health
Returns the current server status and a UTC timestamp.Authentication
None required. This endpoint is intentionally public so that load balancers, container orchestrators, and external uptime monitors can reach it without credentials.Response
Always
"ok" when the server process is running and the HTTP stack is healthy.Current server time as an ISO 8601 UTC string (e.g.
"2024-06-15T10:30:00.000Z"). Useful for verifying the server’s clock and confirming the response is live rather than cached.Use Cases
Load Balancer Health Check
Configure your load balancer (AWS ALB, NGINX, HAProxy, etc.) to pollGET /health and route traffic only to instances that return HTTP 200. If the process crashes or becomes unresponsive, the endpoint stops responding and the load balancer removes the instance from the pool automatically.
Container Readiness and Liveness Probes
In Docker Compose or Kubernetes, point your healthcheck / probe at this endpoint to determine when the container is ready to serve traffic and whether it should be restarted.Use this endpoint for both liveness probes (is the process alive?) and readiness probes (is the process ready to receive traffic?) in Kubernetes. The response time is negligible — a 2-second timeout and 5-second interval are more than sufficient.
Uptime Monitoring
External monitoring services (UptimeRobot, Better Uptime, Checkly, Pingdom, etc.) can pingGET /health on a 30-second or 1-minute interval to track API availability and alert on downtime.
What This Endpoint Does Not Check
TheGET /health endpoint confirms that the HTTP server process is alive. It does not verify:
- Database connectivity — a healthy response does not guarantee Prisma can reach the database.
- Redis / BullMQ queue availability — the analysis job queue may be unavailable even when this endpoint returns
200. - AI service reachability — the OpenAI/Anthropic API connection is not tested here.
/health/ready endpoint that performs active checks on each dependency.