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

# Changes to Get prompt by id

`GET /v1/private/prompts/{id}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 6 of 58 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` — 4 info
- **2026-05-19** `f93aac27fb6e` — 3 warning, 4 info
- **2026-05-04** `d606e84c75e4` — 11 warning, 4 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` — 4 info
  - added the new optional `query` request parameter `environment`
  - added the non-success response with the status `400`
  - 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` — 3 warning, 4 info
  - removed the optional property `code` from the response with the `404` status
  - removed the optional property `details` from the response with the `404` status
  - removed the optional property `message` from the response with the `404` status
  - added the new optional `query` request parameter `mask_id`
  - added the optional property `errors` to the response with the `404` 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, 4 info
  - deleted the `query` request parameter `environment`
  - deleted the `query` request parameter `mask_id`
  - removed the optional property `errors` from the response with the `404` 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
  - removed the non-success response with the status `400`
  - added the optional property `code` to the response with the `404` status
  - added the optional property `details` to the response with the `404` status
  - added the optional property `message` to the response with the `404` status

---

[Operation](https://skmtc.dev/comet-ml/apis/opik-rest-api/docs/v1/private/prompts/:id/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/:id/get)
