Overview
The health endpoint provides a simple way to verify that the Beacon API server is running and responsive. It returns basic service information including the server status, version, and service name.Endpoint
Authentication
No authentication required.Request
This endpoint accepts no parameters or request body.Example Request
Response
Success Response (200 OK)
Returns a JSON object with health status information.Current status of the service. Always returns
"ok" when the server is healthy.The current version of the Beacon API (e.g.,
"0.2.2").The service name. Always returns
"beacon".Example Response
Use Cases
- Monitoring: Use this endpoint in health check scripts or monitoring systems to verify API availability
- Load Balancers: Configure load balancers to ping this endpoint to determine if the service is healthy
- Version Checking: Retrieve the current API version for compatibility checks
- Uptime Monitoring: Include in automated uptime monitoring workflows