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

# Changes to ✨ Create a few-shot example

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

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

## Timeline

Changed in 1 of 146 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 `201`
  - the `task_data` response's property type changed from `string` to `object` for status `201`

---

[Operation](https://skmtc.dev/humansignal/apis/label-studio-api/docs/api/prompts/:prompt_id/versions/:version_id/few-shot-examples/post.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/post)
