---
title: "Record Deployment Metrics"
method: POST
path: "/internal/deployment-metrics"
tags: ["internal"]
---

# Record Deployment Metrics

`POST /internal/deployment-metrics`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/internal/deployment-metrics`
- Auth: none declared. Required headers: `x-service-token`

Record cluster deployment metrics for ETA calculations (internal).

## Headers

- `x-service-token` string, required

## Request body

- DeploymentMetricsCreate
  - `cluster_id` string, required
  - `provider` string, required
  - `tier` string, required
  - `region` string, required
  - `total_duration_seconds` integer, required
  - `success` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
