---
title: "Prometheus metrics data project"
method: POST
path: "/api/v1/projects/prometheusmetrics"
tags: ["Projects"]
---

# Prometheus metrics data project

`POST /api/v1/projects/prometheusmetrics`

## Request body

- PrometheusMetricsCommand
  - `projectId` integer
  - `parameters` string, nullable
  - `time` string, date-time, nullable
  - `start` string, date-time, nullable
  - `end` string, date-time, nullable
  - `isGraphEnabled` boolean
  - `step` string, nullable

## Response `200`

OK

- PrometheusMetricListDto
  - `status` string, nullable
  - `data` MetricData
    - `resultType` string, nullable
    - `result` MetricResult[], nullable
      - `metric` object, nullable
      - `value` unknown
      - `values` array[], nullable
        - number[]

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.dev/taikun/apis/taikun-webapi.md) · [All operations](https://skmtc.dev/taikun/apis/taikun-webapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/taikun/taikun-webapi/revisions/09395964d191/schema)
