Prompts
Update Prompt
Create a new version of an existing prompt
POST
Creates a new version of an existing prompt with updated content. Can create either a major or minor version.Documentation Index
Fetch the complete documentation index at: https://docs.helicone.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request Body
The unique identifier of the prompt to update
The unique identifier of the current prompt version to base the update on
Whether to create a new major version (true) or minor version (false)
Optional environment to set for this new version (e.g., “production”, “staging”, “development”)
A description of the changes made in this version
The updated prompt body following OpenAI chat completion format
Response
Unique identifier of the new prompt version