---
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`

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

---

[API](https://skmtc.net/aide-family/apis/untitled-api-3.md) · [All operations](https://skmtc.net/aide-family/apis/untitled-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aide-family/untitled-api-3/versions/26ae221fccba/schema)
