Create a new prompt
Create a new prompt with the given configuration.
This endpoint allows superusers to create a new prompt with a specified name, template, and input types.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
X-API-Key
Request
This endpoint expects an object.
name
The name of the prompt
template
The template string for the prompt
input_types
A dictionary mapping input names to their types
Response
Successful Response
results