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

# Health Check

> V6 server health and cache diagnostics

## Health Check

Returns the V6 server health, uptime, and cache statistics. **No authentication required.**

```text theme={null}
GET /health
```

<CodeGroup>
  ```bash cURL — New canonical theme={null}
  curl "https://api.sportsapipro.com/v6/football/health"
  ```

  ```bash cURL — Classic theme={null}
  curl "https://api.sportsapipro.com/v6/football/health"
  ```
</CodeGroup>

### Response

```json theme={null}
{
  "status": "ok",
  "uptime": 12345.6,
  "cache": { "size": 1024, "active": 812 }
}
```

| Field          | Type   | Description                     |
| -------------- | ------ | ------------------------------- |
| `status`       | string | `"ok"` if the server is running |
| `uptime`       | number | Seconds since last restart      |
| `cache.size`   | number | Total cached entries            |
| `cache.active` | number | Non-expired cached entries      |

## Cache Diagnostics

```text theme={null}
GET /api/v1/cache/stats
```

Returns detailed cache hit/miss counters and eviction stats. Authenticated.

```bash theme={null}
curl -H "x-api-key: YOUR_API_KEY" \
  "https://api.sportsapipro.com/v6/football/cache/stats"
```
