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 a prompt version for a specific environment
curl -X POST "https://api.inquantum.ai/v1/prompt-2025/query/environment-version" \ -H "Authorization: Bearer $PLANCK_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "promptId": "prompt_123", "environment": "production" }'
const response = await fetch('https://api.inquantum.ai/v1/prompt-2025/query/environment-version', { method: 'POST', headers: { 'Authorization': `Bearer ${PLANCK_API_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ promptId: "prompt_123", environment: "production" }), }); const version = await response.json();
{ "id": "version_789", "model": "gpt-4", "prompt_id": "prompt_123", "major_version": 2, "minor_version": 0, "commit_message": "Production release v2.0", "environment": "production", "created_at": "2024-01-20T14:00:00Z", "s3_url": "https://s3.amazonaws.com/bucket/prompt-body.json" }