# Prometheus metrics scrape (/docs/reference/observability/getMetrics)

> For AI agents, the [documentation index](https://bitrouter-docs-staging.up.railway.app/llms.txt) lists all pages. Append .md to a documentation URL to read its Markdown.

`GET /metrics`

Returns Prometheus-format metrics for ingestion by a scraper. Not intended for human callers — point Prometheus, Grafana Agent, or any OpenMetrics-compatible collector at this endpoint.

Responds `404 Not Found` when the node was built or configured without a metrics renderer; scrapers can use that as a feature probe.

## Authentication

Public.

Base URL: `https://api.bitrouter.ai`

## Responses

* `200` Prometheus-format metrics — counters, gauges, and histograms covering routing decisions, upstream latency, and credit settlement. (text/plain)
* `404` Metrics renderer is not configured on this node — scrapers can use the 404 to probe whether `/metrics` is enabled.

[Full OpenAPI schema](https://bitrouter-docs-staging.up.railway.app/openapi.json)