Skip to main content
POST
Creates a new prompt template with an initial version. The prompt body uses the OpenAI chat format.

Request Body

string
required
Name of the prompt template
string[]
required
Array of tags to categorize the prompt
object
required
The prompt content in OpenAI chat format

Response

object
string
The unique identifier for the created prompt
string
The unique identifier for the initial version
string | null
Error message if the request failed, null otherwise