---
title: "Changes to ✨ Update a few-shot example"
method: PATCH
path: "/api/prompts/{prompt_id}/versions/{version_id}/few-shot-examples/{id}"
---

# Changes to ✨ Update a few-shot example

`PATCH /api/prompts/{prompt_id}/versions/{version_id}/few-shot-examples/{id}`

> Every recorded change to this endpoint, newest first.
> 103 revisions in range; 1 not diffed.

## Timeline

Changed in 1 of 103 revisions.

- **2026-07-08** `b5f055b9d45b` — 2 breaking

## Changes

- **2026-07-08** `b5f055b9d45b` — 2 breaking
  - the `annotation_result` response's property type changed from `string` to `array` for status `200`
  - the `task_data` response's property type changed from `string` to `object` for status `200`

---

[Operation](https://skmtc.dev/humansignal/apis/label-studio-api/docs/api/prompts/:prompt_id/versions/:version_id/few-shot-examples/:id/patch.md) · [API](https://skmtc.dev/humansignal/apis/label-studio-api.md) · [Page](https://skmtc.dev/humansignal/apis/label-studio-api/changes/api/prompts/:prompt_id/versions/:version_id/few-shot-examples/:id/patch)
