Prompts

✨ Create prompt

Changed on
<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.
post/api/prompts/

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/prompts/
  • Auth
    API key in header Authorization

Request body

associated_projectsinteger[]
descriptionstring nullable

Model description

input_fieldsunknown
organizationinteger nullable
output_classesunknown
skill_name'TextClassification' | 'NamedEntityRecognition'
  • TextClassification - TextClassification
  • NamedEntityRecognition - NamedEntityRecognition
titlestring required

Model name

Response

associated_projectsinteger[]
created_atstring date-time required
descriptionstring nullable

Model description

idinteger required
input_fieldsunknown
organizationinteger nullable
output_classesunknown
skill_name'TextClassification' | 'NamedEntityRecognition'
  • TextClassification - TextClassification
  • NamedEntityRecognition - NamedEntityRecognition
titlestring required

Model name

updated_atstring date-time required

Changes

    • breaking

      the response property ///// became nullable for the status