Prompts

✨ Duplicate a prompt

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

Path parameters

idinteger required

A unique integer value identifying this model interface.

Request body

associated_projectsinteger[]
descriptionstring nullable

Model description

{"stackTrail":"components:schemas:ModelInterfaceRequest:properties:input_fields","oasType":"schema","type":"unknown"}
organizationinteger nullable
{"stackTrail":"components:schemas:ModelInterfaceRequest:properties:output_classes","oasType":"schema","type":"unknown"}
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
{"stackTrail":"components:schemas:ModelInterface:properties:input_fields","oasType":"schema","type":"unknown"}
organizationinteger nullable
{"stackTrail":"components:schemas:ModelInterface:properties:output_classes","oasType":"schema","type":"unknown"}
skill_name'TextClassification' | 'NamedEntityRecognition'
  • TextClassification - TextClassification
  • NamedEntityRecognition - NamedEntityRecognition
titlestring required

Model name

updated_atstring date-time required

Changes

Changed in 2 of the 97 revisions of this API.2

    • the response property created_by/allOf[UserSimple]/avatar became nullable for the status 200

      response-property-became-nullable

    • for the path request parameter id, the type/format was changed from string/ to integer/

      request-parameter-type-changed

Of the 97 revisions, 1 has no diff computed.