GET/api/v1/content-creation/drafts/{draft_id}/versions
List a content draft's saved versions
A draft's saved versions, newest first; the original (version 0) last.<br/>No text: read one version for its content.
PARAMETERS
- draft_idpath · stringREQUIRED
- Content draft id.e.g. string
REQUEST
curl "https://gateway.kumkuat.ai/api/v1/content-creation/drafts/string/versions" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://gateway.kumkuat.ai/api/v1/content-creation/drafts/string/versions", 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", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
