Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve all versions of a specific prompt
curl -X POST "https://api.inquantum.ai/v1/prompt-2025/query/versions" \ -H "Authorization: Bearer $PLANCK_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "promptId": "prompt_123", "majorVersion": 1 }'
const response = await fetch('https://api.inquantum.ai/v1/prompt-2025/query/versions', { method: 'POST', headers: { 'Authorization': `Bearer ${PLANCK_API_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ promptId: "prompt_123", majorVersion: 1 }), }); const versions = await response.json();
[ { "id": "version_456", "model": "gpt-4", "prompt_id": "prompt_123", "major_version": 1, "minor_version": 0, "commit_message": "Initial version", "created_at": "2024-01-14T10:30:00Z" }, { "id": "version_789", "model": "gpt-4", "prompt_id": "prompt_123", "major_version": 1, "minor_version": 1, "commit_message": "Minor improvements to system prompt", "created_at": "2024-01-15T14:20:00Z" } ]