POST/api/v1/content-creation/rewrite-phrases
Phrase-level edit suggestions driven by audience feedback
LLM-powered phrase-level edit suggestions based on audience test feedback.
REQUEST BODY · APPLICATION/JSON · REQUIRED
{
"full_draft": "string",
"model": "gemini/gemini-2.5-flash",
"segments": []
}
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/content-creation/rewrite-phrases" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"full_draft": "string",
"model": "gemini/gemini-2.5-flash",
"segments": []
}'
import requests
r = requests.post("https://gateway.kumkuat.ai/api/v1/content-creation/rewrite-phrases", headers={"X-API-Key": "YOUR_KEY"}, json={
"full_draft": "string",
"model": "gemini/gemini-2.5-flash",
"segments": []
})
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/rewrite-phrases", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({
"full_draft": "string",
"model": "gemini/gemini-2.5-flash",
"segments": []
})
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"suggestions": [
{}
]
}
