---
title: "✨ Get prompt"
method: GET
path: "/api/prompts/{id}/"
tags: ["Prompts"]
---

# ✨ Get prompt

`GET /api/prompts/{id}/`

<Card href="https://humansignal.com/goenterprise">
        <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
        <p style="margin-top: 10px; font-size: 14px;">
            This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
        </p>
    </Card>
Retrieve a specific prompt.

## Path parameters

- `id` integer, required

## Response `200`

- ModelInterfaceSerializerGET
  - `associated_projects` AssociatedProject[]
    - `id` integer, required
    - `title` string, nullable — Project name. Must be between 3 and 50 characters long.
  - `best_score` number, double, nullable, required
  - `created_at` string, date-time, required
  - `created_by` UserSimple — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
    - `avatar` string, nullable, required
    - `email` string, email
    - `first_name` string
    - `id` integer, required
    - `last_name` string
    - `username` string, required
  - `description` string, nullable — Model description
  - `id` integer, required
  - `input_fields` unknown
  - `organization` integer, nullable
  - `output_classes` unknown
  - `runs_count` integer, required
  - `skill_name` 'TextClassification' | 'NamedEntityRecognition' — * `TextClassification` - TextClassification * `NamedEntityRecognition` - NamedEntityRecognition
  - `title` string, required — Model name
  - `updated_at` string, date-time, required
  - `versions_count` integer, required

## Changes

- **2026-07-08** `b5f055b9d45b` — 1 breaking
  - the response property `created_by/allOf[#/components/schemas/UserSimple]/avatar` became nullable for the status `200`
- **2026-07-07** `0e7853fa17ad` — 1 breaking
  - for the `path` request parameter `id`, the type/format was changed from `string`/`` to `integer`/``
- **2026-04-27** `5281b5793e5f` — 3 info
  - added the required property `best_score` to the response with the `200` status
  - added the required property `runs_count` to the response with the `200` status
  - added the required property `versions_count` to the response with the `200` status

[Change history](https://skmtc.dev/humansignal/apis/label-studio-api/changes/api/prompts/:id/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-service-production.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/revisions/bcbdfd8a482f/schema)
