---
title: "POST /v1/metric-query/proxy"
method: POST
path: "/v1/metric-query/proxy"
tags: ["MetricQuery"]
---

# POST /v1/metric-query/proxy

`POST /v1/metric-query/proxy`

## Request

- The document declares no server URL.
- Auth: none declared

Proxy forwards an HTTP request to the datasource and returns the response (direct proxy).

## Request body

- MarksmanApiV1MetricQueryProxyRequest: MetricQueryProxyRequest is the request for direct proxy to datasource.
  - `uid` string
  - `path` string: Path suffix without leading slash (e.g. "api/v1/query", "api/v1/query_range"). Appended to datasource URL.
  - `method` string: HTTP method (GET, POST, etc.).
  - `body` string, bytes: Optional body for POST/PUT/PATCH. Ignored for GET/DELETE.

## Response `200`

OK

- MarksmanApiV1MetricQueryProxyReply: MetricQueryProxyReply is the response from proxy (status code and body).
  - `statusCode` integer
  - `response` object

## Changes

- **2026-03-17** `c5ee25d8231f`: 1 info
  - endpoint added
- **2026-02-28** `f5912329bb01`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/aide-family/apis/aide-family-marksman-api/changes/v1/metric-query/proxy/post.md)

---

[API](https://skmtc.dev/aide-family/apis/aide-family-marksman-api.md) - [All operations](https://skmtc.dev/aide-family/apis/aide-family-marksman-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aide-family/apis/aide-family-marksman-api/revisions/26ae221fccba?raw)
