Skip to main content
Helicone OSS LLM Observability

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#

namestringrequired#

Name of the prompt

tagsstring[]required#

Array of tags to associate with the prompt

promptBodyOpenAIChatRequestrequired#

The initial prompt body following OpenAI chat completion format

Response#

idstring#

Unique identifier of the created prompt

versionIdstring#

Unique identifier of the initial prompt version