curl -X POST "https://api.helicone.ai/v1/prompt-2025" \ -H "Authorization: Bearer $HELICONE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Customer Support Bot", "tags": ["support", "chatbot"], "promptBody": { "model": "gpt-4", "messages": [ { "role": "system", "content": "You are a helpful customer support assistant." } ], "temperature": 0.7 } }'Create Prompt
Create a new prompt with initial version
1 min read
posthttps://api.helicone.ai/v1/prompt-2025
posthttps://api.helicone.ai/v1/prompt-2025
Creates a new prompt with the specified name, tags, and initial prompt body. Returns the prompt ID and initial version ID.
Request Body#
Name of the prompt
The initial prompt body following OpenAI chat completion format
Response#
Unique identifier of the created prompt
Unique identifier of the initial prompt version
