Skip to main content
Helicone OSS LLM Observability

Get Prompt Version

Retrieve a specific prompt version with its content
1 min read
posthttps://api.helicone.ai/v1/prompt-2025/query/version
posthttps://api.helicone.ai/v1/prompt-2025/query/version

Retrieves detailed information about a specific prompt version, including the full prompt body content.

Request Body#

promptVersionIdstringrequired#

The unique identifier of the prompt version to retrieve

Response#

idstring#

Unique identifier of the prompt version

modelstring#

The model specified in the prompt

prompt_idstring#

The ID of the parent prompt

major_versionnumber#

The major version number

minor_versionnumber#

The minor version number

commit_messagestring#

The commit message for this version

environmentstring#

The environment this version is assigned to (e.g., "production", "staging")

created_atstring#

ISO timestamp when the version was created

s3_urlstring#

S3 URL where the prompt body is stored