Skip to main content
Helicone OSS LLM Observability

Get Prompt Version Counts

Get version count statistics for a specific prompt
1 min read
posthttps://api.helicone.ai/v1/prompt-2025/query/total-versions
posthttps://api.helicone.ai/v1/prompt-2025/query/total-versions

Retrieves statistics about the total number of versions and major versions for a specific prompt.

Request Body#

promptIdstringrequired#

The unique identifier of the prompt

Response#

totalVersionsnumber#

Total number of versions (major and minor) for this prompt

majorVersionsnumber#

Total number of major versions for this prompt