Push Prompts
Creates a new prompt on your Confident AI project.
Headers
CONFIDENT_API_KEY
The API key of your Confident AI project.
Request
alias
The unique alias of the prompt.
text
The text content of the prompt. Supply this only if you are creating a text-based prompt.
messages
The list of messages that make up the prompt. Supply this only if you are creating a list-based prompt.
interpolationType
The type of interpolation format used in the prompt to insert dynamic variables.
Allowed values:
modelSettings
This is the model settings for the prompt.
outputType
The type of output expected from the prompt.
Allowed values:
outputSchema
This is the output schema definition when outputType is SCHEMA.
Response
success
This is true if the prompt was successfully created.
data
This maps to the prompt version id.
link
This is the URL to redirect to after the prompt is created.
deprecated
This is true if this endpoint is deprecated.