Update an existing prompt

PUT

Update an existing prompt’s template and/or input types.

This endpoint allows superusers to update the template and input types of an existing prompt.

Path parameters

namestringRequired

Prompt name

Request

This endpoint expects an object.
templatestringOptional

Updated prompt template

input_typesmap from strings to stringsOptional

A dictionary mapping input names to their types

Response

Successful Response

resultsobject

Errors