Skip to main content
The LENS API exposes a single unauthenticated health endpoint. Use it to verify the API and its upstream services are reachable, surface upcoming service windows, and (when you authenticate) inspect your current rate-limit state — all without spending a request against your quota.
This endpoint is anonymous and rate-limiting is disabled. You do not need an API key. Providing one is optional — it unlocks the limits block in the response.

What it checks

The endpoint independently probes every critical upstream service: If any service fails, the response returns HTTP 503 Service Unavailable with ok: false and per-service error detail in the services object. When all services are healthy, the response is HTTP 200 OK with ok: true.

Response

Fields

Rate-limit state (authenticated only)

When you pass x-api-key, the response also includes your current quota state: These values mirror the X-RateLimit-* headers documented in Rate limits. Calling /free/health lets you inspect them without making a rate-limited request.

Examples

Use cases

  • Uptime monitoring — point your monitoring tool at /free/health and alert on non-200 responses or ok: false.
  • Pre-deploy gate — block deploys while a service window is active by checking upcomingServiceWindows.
  • Clock-skew debugging — compare serverTimeUtc against your local clock to rule out time-related auth failures.
  • Quota dashboards — authenticated calls return your current usage without consuming quota themselves.