GET/api/v1/content-creation/drafts/{draft_id}/versions/{version_no}
Get one saved version of a content draft
One version with its text and studio state.
PARAMETERS
- draft_idpath · stringREQUIRED
- Content draft id.e.g. string
- version_nopath · integerREQUIRED
- Version number: 0 is the original, saved versions count from 1.e.g. 1
REQUEST
curl "https://gateway.kumkuat.ai/api/v1/content-creation/drafts/string/versions/1" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://gateway.kumkuat.ai/api/v1/content-creation/drafts/string/versions/1", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://gateway.kumkuat.ai/api/v1/content-creation/drafts/string/versions/1", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
