---
title: "Changes to Get prompt by commit"
method: GET
path: "/v1/private/prompts/by-commit/{commit}"
---

# Changes to Get prompt by commit

`GET /v1/private/prompts/by-commit/{commit}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 6 of 67 revisions.

- **2026-05-28** `f59fc1819c0c` — 2 info
- **2026-05-27** `3953a50a6a0e` — 2 warning, 2 info
- **2026-05-20** `a98bd55ddc1e` — 2 info
- **2026-05-19** `415a5d0ad31f` — 2 info
- **2026-05-19** `f93aac27fb6e` — 9 warning, 5 info
- **2026-05-04** `d606e84c75e4` — 11 warning, 9 info

## Changes

- **2026-05-28** `f59fc1819c0c` — 2 info
  - added the optional property `latest_version/environment` to the response with the `200` status
  - added the optional property `requested_version/environment` to the response with the `200` status
- **2026-05-27** `3953a50a6a0e` — 2 warning, 2 info
  - removed the optional property `latest_version/environment` from the response with the `200` status
  - removed the optional property `requested_version/environment` from the response with the `200` status
  - added the optional property `latest_version/environments` to the response with the `200` status
  - added the optional property `requested_version/environments` to the response with the `200` status
- **2026-05-20** `a98bd55ddc1e` — 2 info
  - added the optional property `latest_version/version_number` to the response with the `200` status
  - added the optional property `requested_version/version_number` to the response with the `200` status
- **2026-05-19** `415a5d0ad31f` — 2 info
  - added the optional property `latest_version/environment` to the response with the `200` status
  - added the optional property `requested_version/environment` to the response with the `200` status
- **2026-05-19** `f93aac27fb6e` — 9 warning, 5 info
  - removed the optional property `code` from the response with the `400` status
  - removed the optional property `code` from the response with the `404` status
  - removed the optional property `code` from the response with the `409` status
  - removed the optional property `details` from the response with the `400` status
  - removed the optional property `details` from the response with the `404` status
  - removed the optional property `details` from the response with the `409` status
  - removed the optional property `message` from the response with the `400` status
  - removed the optional property `message` from the response with the `404` status
  - removed the optional property `message` from the response with the `409` status
  - added the optional property `errors` to the response with the `400` status
  - added the optional property `errors` to the response with the `404` status
  - added the optional property `errors` to the response with the `409` status
  - added the optional property `latest_version/version_type` to the response with the `200` status
  - added the optional property `requested_version/version_type` to the response with the `200` status
- **2026-05-04** `d606e84c75e4` — 11 warning, 9 info
  - removed the optional property `errors` from the response with the `400` status
  - removed the optional property `errors` from the response with the `404` status
  - removed the optional property `errors` from the response with the `409` status
  - removed the optional property `latest_version/environment` from the response with the `200` status
  - removed the optional property `latest_version/environments` from the response with the `200` status
  - removed the optional property `latest_version/version_number` from the response with the `200` status
  - removed the optional property `latest_version/version_type` from the response with the `200` status
  - removed the optional property `requested_version/environment` from the response with the `200` status
  - removed the optional property `requested_version/environments` from the response with the `200` status
  - removed the optional property `requested_version/version_number` from the response with the `200` status
  - removed the optional property `requested_version/version_type` from the response with the `200` status
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `409` status
  - added the optional property `details` to the response with the `400` status
  - added the optional property `details` to the response with the `404` status
  - added the optional property `details` to the response with the `409` status
  - added the optional property `message` to the response with the `400` status
  - added the optional property `message` to the response with the `404` status
  - added the optional property `message` to the response with the `409` status

---

[Operation](https://skmtc.dev/comet-ml/apis/opik-rest-api/docs/v1/private/prompts/by-commit/:commit/get.md) · [API](https://skmtc.dev/comet-ml/apis/opik-rest-api.md) · [Page](https://skmtc.dev/comet-ml/apis/opik-rest-api/changes/v1/private/prompts/by-commit/:commit/get)
