> ## Documentation Index
> Fetch the complete documentation index at: https://trailblazer.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /health — Check the NaijaTaste API health

> Check whether the NaijaTaste API is running and reachable. Returns a simple status object. Also accepts HEAD requests for lightweight uptime monitoring.

The `/health` endpoint confirms that the NaijaTaste API is up and accepting requests. It returns a minimal JSON object when the service is healthy. This endpoint is suitable for use in uptime monitors, load balancer health checks, and CI pipelines. It also supports `HEAD` requests, so you can verify reachability without receiving a response body.

## Request

```text theme={null}
GET https://naijataste-api-vcp4.onrender.com/health
```

This endpoint accepts no parameters. It also accepts `HEAD /health` for monitors that only need an HTTP status code.

## Response

<ResponseField name="status" type="string" required>
  Always `"ok"` when the API is healthy and accepting requests.
</ResponseField>

## Example

<CodeGroup>
  ```bash GET request theme={null}
  curl "https://naijataste-api-vcp4.onrender.com/health"
  ```

  ```bash HEAD request theme={null}
  curl -I "https://naijataste-api-vcp4.onrender.com/health"
  ```

  ```json Response theme={null}
  {
    "status": "ok"
  }
  ```
</CodeGroup>

<Tip>
  Use `HEAD /health` in uptime monitors to reduce bandwidth — the server returns the same `200 OK` status without sending a response body.
</Tip>
