✨ Create prompt

<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> Create a new prompt.

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>

Request

This endpoint expects an object.
titlestringRequired1-500 characters
Model name
associated_projectslist of integersOptional
created_byobjectOptional
User who created Dataset
descriptionstring or nullOptional
Model description
input_fieldsanyOptional
organizationinteger or nullOptional
output_classesanyOptional
skill_nameenumOptional
* `TextClassification` - TextClassification * `NamedEntityRecognition` - NamedEntityRecognition
Allowed values:

Response

created_atdatetime
idinteger
titlestring<=500 characters
Model name
updated_atdatetime
associated_projectslist of integers or null
created_byobject or null
User who created Dataset
descriptionstring or null
Model description
input_fieldsany or null
organizationinteger or null
output_classesany or null
skill_nameenum or null
* `TextClassification` - TextClassification * `NamedEntityRecognition` - NamedEntityRecognition
Allowed values: