Update prompt

Update a prompt by ID.

Path parameters

idintegerRequired
Prompt ID

Headers

AuthorizationstringRequired

Header authentication of the form Token <token>

Request

This endpoint expects an object.
titlestringRequired<=500 characters
Title of the prompt
input_fieldslist of stringsRequired
List of input fields
output_classeslist of stringsRequired
List of output classes
descriptionstringOptional
Description of the prompt
created_byinteger or map from strings to anyOptional
User ID of the creator of the prompt
created_atdatetimeOptional
Date and time the prompt was created
updated_atdatetimeOptional
Date and time the prompt was last updated
organizationinteger or map from strings to anyOptional
Organization ID of the prompt
associated_projectslist of integers or objectsOptional
List of associated projects IDs or objects
skill_namestringOptional
Name of the skill

Response

titlestring<=500 characters
Title of the prompt
input_fieldslist of strings
List of input fields
output_classeslist of strings
List of output classes
descriptionstring or null
Description of the prompt
created_byinteger or map from strings to any or null
User ID of the creator of the prompt
created_atdatetime or null
Date and time the prompt was created
updated_atdatetime or null
Date and time the prompt was last updated
organizationinteger or map from strings to any or null
Organization ID of the prompt
associated_projectslist of integers or objects or null
List of associated projects IDs or objects
skill_namestring or null
Name of the skill