Vanar | API Reference
Back to Console

Health Check

Validate API and database connectivity.

Endpoint

GET /health

Authentication

Not Required: This endpoint does not require authentication and can be called without an API key.

Response Fields

FieldTypeDescription
statusstringAPI status ("ok" when healthy)
timestampstringISO 8601 timestamp of the check
uptimenumberServer uptime in seconds
environmentstringCurrent environment (e.g., "development", "production")
versionstringAPI version
servicesobjectStatus of individual services (api, database)
services.api.statusstringAPI service status
services.database.statusstringDatabase service status
services.database.connectedbooleanDatabase connection state

Status Codes

CodeDescription
200Success - API and database are healthy

Use Cases

Load Balancer Health Checks

Configure your load balancer to ping this endpoint to determine instance health.

Monitoring and Alerting

Set up automated monitoring to detect API outages and database connectivity issues.

Connection Verification

Verify API connectivity before making authenticated requests.

Base URL: All requests use https://api-development.myneutron.ai which adapts to your environment.