---
title: "Changes to Get LLM cost for a prompt optimization run"
method: GET
path: "/v2/prompt/optimize/{optimization_run_id}/costs"
---

# Changes to Get LLM cost for a prompt optimization run

`GET /v2/prompt/optimize/{optimization_run_id}/costs`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 26 revisions.

- **2026-01-19** `8de146313c05` — 1 breaking, 1 info
- **2026-01-14** `5d653da58c4f` — 1 info

## Changes

- **2026-01-19** `8de146313c05` — 1 breaking, 1 info
  - removed the required property `adaptation_run_id` from the response with the `200` status
  - added the required property `optimization_run_id` to the response with the `200` status
- **2026-01-14** `5d653da58c4f` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/not-diamond/apis/not-diamond-api/docs/v2/prompt/optimize/:optimization_run_id/costs/get.md) · [API](https://skmtc.dev/not-diamond/apis/not-diamond-api.md) · [Page](https://skmtc.dev/not-diamond/apis/not-diamond-api/changes/v2/prompt/optimize/:optimization_run_id/costs/get)
