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

# Monitoring

> Track MESH request health, spend, errors, receipts, and providers.

MESH exposes account and platform monitoring through API endpoints instead of requiring console-only
inspection.

## Summary

`GET /v1/monitoring` returns request volume, p95 latency, error rate, spend, payment health, and
provider health for the selected window.

```bash theme={null}
curl "https://api.meshrouter.app/v1/monitoring?accountId=acct_live&window=1h" \
  -H "Authorization: Bearer $MESH_API_KEY"
```

## Operational data

| Data      | Endpoint                   | Use case                         |
| --------- | -------------------------- | -------------------------------- |
| Usage     | `GET /v1/usage`            | Spend, tokens, request totals    |
| Logs      | `GET /v1/logs`             | Route, payment, privacy events   |
| Receipts  | `GET /v1/receipts/{id}`    | Per-request cost audit trail     |
| Providers | `GET /v1/providers/health` | Routing health and fallback data |

Use query parameters such as `accountId`, `from`, `to`, `limit`, and `cursor` to keep dashboards
incremental.
