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.
Create a new version of an existing prompt
curl -X POST "https://api.inquantum.ai/v1/prompt-2025/update" \ -H "Authorization: Bearer $PLANCK_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "promptId": "prompt_123", "promptVersionId": "version_456", "newMajorVersion": true, "environment": "production", "commitMessage": "Updated system prompt for better customer interactions", "promptBody": { "model": "gpt-4", "messages": [ { "role": "system", "content": "You are an expert customer support assistant with deep knowledge of our products." } ], "temperature": 0.7 } }'
const response = await fetch('https://api.inquantum.ai/v1/prompt-2025/update', { method: 'POST', headers: { 'Authorization': `Bearer ${PLANCK_API_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ promptId: "prompt_123", promptVersionId: "version_456", newMajorVersion: true, environment: "production", commitMessage: "Updated system prompt for better customer interactions", promptBody: { model: "gpt-4", messages: [ { role: "system", content: "You are an expert customer support assistant with deep knowledge of our products." } ], temperature: 0.7 } }), }); const result = await response.json();
{ "id": "version_789" }