Endpoint
POST
/v1/prompt/createAuthentication
This endpoint requires API key authentication. Include your API key in the request headers:Request Body
User-defined identifier for the prompt. This is used to reference the prompt in your code
The prompt template content. Should follow OpenAI chat completion format with messages array and model
Additional metadata for the prompt as key-value pairs
Response
Error message if the request failed, null otherwise
Example Request
Example Response
Notes
- The
userDefinedIdmust be unique within your organization - Use
{{variable_name}}syntax for template variables in your prompt - The initial version is automatically set as version 1.0