---
title: "Changes to Run a metric definition"
method: POST
path: "/api/metrics/definitions/{id}/run"
---

# Changes to Run a metric definition

`POST /api/metrics/definitions/{id}/run`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 104 revisions.

- **2026-08-07** `06cac6a7c5bc` — 3 info
- **2026-07-06** `2c8021c48f65` — 1 info
- **2026-07-02** `0c910612f9ac` — 1 breaking

## Changes

- **2026-08-07** `06cac6a7c5bc` — 3 info
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `404`
- **2026-07-06** `2c8021c48f65` — 1 info
  - endpoint added
- **2026-07-02** `0c910612f9ac` — 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/docs/api/metrics/definitions/:id/run/post.md) · [API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [Page](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/metrics/definitions/:id/run/post)
