---
title: "✨ List few-shot examples"
method: GET
path: "/api/prompts/{prompt_id}/versions/{version_id}/few-shot-examples"
tags: ["Prompts"]
---

# ✨ List few-shot examples

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

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/prompts/{prompt_id}/versions/{version_id}/few-shot-examples`
- Auth: API key in header `Authorization`

CRUD API for managing few-shot examples on a ThirdPartyModelVersion.

## Path parameters

- `prompt_id` integer, required
- `version_id` integer, required

## Query parameters

- `ordering` string

## Response `200`

- FewShotExample[]
  - `annotation` integer, required
  - `annotation_result` object[], required
  - `created_at` string, date-time, required
  - `id` integer, required
  - `order` integer
  - `task` integer, required
  - `task_data` object, required

## Changes

> 142 revisions in range; 1 not diffed.

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

[Operation history](https://skmtc.dev/humansignal/apis/label-studio-api/changes/api/prompts/:prompt_id/versions/:version_id/few-shot-examples/get.md)

---

[API](https://skmtc.dev/humansignal/apis/label-studio-api.md) - [All operations](https://skmtc.dev/humansignal/apis/label-studio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/humansignal/apis/label-studio-api/revisions/b3a81da7c74a?raw)
