Skip to main content
POST
Creates a new prompt with the specified name, tags, and initial prompt body. Returns the prompt ID and initial version ID.

Request Body

string
required
Name of the prompt
string[]
required
Array of tags to associate with the prompt
OpenAIChatRequest
required
The initial prompt body following OpenAI chat completion format

Response

string
Unique identifier of the created prompt
string
Unique identifier of the initial prompt version