curl -X POST "https://api.helicone.ai/v1/prompt-2025/query/version" \ -H "Authorization: Bearer $HELICONE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "promptVersionId": "version_456" }'
{ "id": "version_456", "model": "gpt-4", "prompt_id": "prompt_123", "major_version": 1, "minor_version": 2, "commit_message": "Updated system prompt for better responses", "created_at": "2024-01-15T10:30:00Z", "s3_url": "https://s3.amazonaws.com/bucket/prompt-body.json" }
Retrieve a specific prompt version with its content
Was this page helpful?