✨ Get prompt version

<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 of a model.

Authentication

Authorizationstring
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>

Path parameters

prompt_idintegerRequired
version_idintegerRequired

Response

created_atdatetime
created_byobject
User who created Dataset
idinteger
promptstring
Prompt to execute
provider_model_idstring<=255 characters

The model ID to use within the given provider, e.g. gpt-3.5

scorestring
titlestring<=500 characters
Model name
updated_atdatetime
model_provider_connectioninteger or null
organizationinteger or null
parent_modelinteger or null
Parent model interface ID
providerenum or null
The model provider to use e.g. OpenAI * `OpenAI` - OpenAI * `AzureOpenAI` - AzureOpenAI * `AzureAIFoundry` - AzureAIFoundry * `VertexAI` - VertexAI * `Gemini` - Gemini * `Anthropic` - Anthropic * `Custom` - Custom