curl -X POST "https://api.helicone.ai/v1/prompt-2025/query/total-versions" \ -H "Authorization: Bearer $HELICONE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "promptId": "prompt_123" }'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#
The unique identifier of the prompt
Response#
Total number of versions (major and minor) for this prompt
Total number of major versions for this prompt
