POST/api/v1/reports/{report_id}/sections/{section_id}/generate
Generate output for a single section
Force-generate (or regenerate) the LLM output for a single report section.
PARAMETERS
- report_idpath · stringREQUIRED
- Custom report id.e.g. string
- section_idpath · stringREQUIRED
- Report section id.e.g. string
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/reports/string/sections/string/generate" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.post("https://gateway.kumkuat.ai/api/v1/reports/string/sections/string/generate", 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/reports/string/sections/string/generate", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
