Update an existing prompt
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
name
Prompt name
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
X-API-Key
Request
This endpoint expects an object.
template
Updated prompt template
input_types
A dictionary mapping input names to their types
Response
Successful Response
results