---
title: "Gateway Metrics"
method: GET
path: "/gateway/metrics"
---

# Gateway Metrics

`GET /gateway/metrics`

## Request

- Base URL: `http://127.0.0.1:8052`
- URL: `http://127.0.0.1:8052/gateway/metrics`
- Auth: none declared

Return per-tool MCP call metrics from the active gateway session.

Returns an empty ``metrics`` dict when no gateway is running.
Clients can use ``active`` to distinguish the two cases.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/bernstein/apis/bernstein-task-server.md) · [All operations](https://skmtc.dev/bernstein/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc.dev/bernstein/apis/bernstein-task-server/revisions/2a20a34ad2eb?raw)
