Create a new prompt with an initial version.
Payload Requirements
Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format
Body containing prompt creation parameters
ID of the space to create the prompt in
Name of the prompt (must be unique within the space)
Commit message describing this version
The format for input variables in the prompt messages. There is no default; this field is required.
f_string: Single curly braces ({variable_name})mustache: Double curly braces ({{variable_name}})none: No input variable parsingf_string, mustache, none The LLM provider to use
openAI, azureOpenAI, awsBedrock, vertexAI, custom The messages that make up the prompt template
1Description of the prompt
Tags to associate with the prompt
The model to use for the call
Parameters for the LLM invocation
Provider-specific parameters
A prompt object
A prompt is a reusable template for LLM interactions. Prompts can be versioned and labeled to track changes over time. Use prompts to standardize how you interact with LLMs across your application.
The prompt ID
The prompt name
The space ID the prompt belongs to
When the prompt was created
When the prompt was last updated
The user ID of the user who created the prompt
The prompt description
The tags associated with the prompt