Read public metrics snapshots, health, download metrics, and live metric events.
Metrics routes are JSON by default.Documentation Index
Fetch the complete documentation index at: https://docs.compose.market/llms.txt
Use this file to discover all available pages before exploring further.
/api/metrics/events is a Server-Sent Events stream.
| Method | Path | Auth | Description |
|---|---|---|---|
GET | /api/metrics | None | Returns the current metrics snapshot. |
GET | /api/metrics/health | None | Returns metrics service health. |
GET | /api/metrics/downloads | None | Refreshes or returns download metrics. |
POST | /api/metrics/reindex | Internal | Runs an on-chain metrics backfill. |
GET | /api/metrics/events | None | Streams metrics snapshots and updates over SSE. |
/api/metrics and /api/metrics/downloads, set to true or 1 to force a refresh./api/metrics/reindex, limits how many backfill ranges to process.POST /api/metrics/reindex.| Event | Description |
|---|---|
metrics.snapshot | Current metrics payload. |
metrics.changed | Update notification from Redis pub/sub. |
metrics.heartbeat | Heartbeat every 25 seconds. |