Prompts

✨ Duplicate a prompt

Changed on
post/api/prompts/{id}/duplicate/

Request

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

Path parameters

idinteger required

A unique integer value identifying this model interface.

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

    • breaking

      for the path request parameter id, the type changed from string to integer