---
title: "Push metrics to the gateway (OTLP/HTTP)"
method: POST
path: "/metrics"
tags: ["Metrics"]
---

# Push metrics to the gateway (OTLP/HTTP)

`POST /metrics`

OTLP/HTTP metrics push endpoint. Accepts an OTLP ExportMetricsServiceRequest
encoded as protobuf or JSON. Only accessible when TELEMETRY_ENABLED and
TELEMETRY_METRICS_PUSH_ENABLED are enabled.

## Request body

- object

## Response `200`

OTLP ExportMetricsServiceResponse, possibly with partial success details

- object

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Metrics push is not enabled
- `413` — Payload too large
- `415` — Unsupported content type

## Changes

- **2026-07-04** `383269b0738e` — 1 info
  - endpoint added
- **2025-07-25** `70bffe5f3ff6` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/inference-gateway/apis/inference-gateway-api/changes/metrics/post.md)

---

[API](https://skmtc.dev/inference-gateway/apis/inference-gateway-api.md) · [All operations](https://skmtc.dev/inference-gateway/apis/inference-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inference-gateway/inference-gateway-api/revisions/fccc79b863aa/schema)
