---
title: "Usage of the index for the house dashboard: bundles indexed, visits and MCP calls per day."
method: GET
path: "/api/metrics"
---

# Usage of the index for the house dashboard: bundles indexed, visits and MCP calls per day.

`GET /api/metrics`

## Request

- Base URL: `https://okfindex.com`
- URL: `https://okfindex.com/api/metrics`
- Auth: none declared

Anonymous calls get the usage block only. Send `METRICS_TOKEN` as Bearer and the finance block is added — all zeros, because nothing here is charged.
Returns: `{app, today, today_visits, days[], usage: {okf, mcp}, accounts, payments?}`.

## Headers

- `Authorization` string

## Response `200`

`{app, today, today_visits, days[], usage: {okf, mcp}, accounts, payments?}`.

## Other responses

- `401`: Token present but wrong.
- `503`: Token present, but the Worker has no `METRICS_TOKEN` to compare.

---

[API](https://skmtc.dev/okfindex/apis/okf-index.md) · [All operations](https://skmtc.dev/okfindex/apis/okf-index/llms.txt) · [OpenAPI document](https://skmtc.dev/okfindex/apis/okf-index/revisions/4b13ca3c739f?raw)
