POST/api/v1/insights
Get AI comparative analysis for executives or companies on a theme
Compare what executives or companies say on a theme, with an optional audience read from your personas.
REQUEST BODY · APPLICATION/JSON · REQUIRED
{
"comparison_type": "executive",
"executives": [
"Jane Doe",
"John Roe"
],
"focus_question": "Who is most credible on margin durability?",
"theme": "Pricing power"
}
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/insights" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"comparison_type": "executive",
"executives": [
"Jane Doe",
"John Roe"
],
"focus_question": "Who is most credible on margin durability?",
"theme": "Pricing power"
}'
import requests
r = requests.post("https://gateway.kumkuat.ai/api/v1/insights", headers={"X-API-Key": "YOUR_KEY"}, json={
"comparison_type": "executive",
"executives": [
"Jane Doe",
"John Roe"
],
"focus_question": "Who is most credible on margin durability?",
"theme": "Pricing power"
})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://gateway.kumkuat.ai/api/v1/insights", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({
"comparison_type": "executive",
"executives": [
"Jane Doe",
"John Roe"
],
"focus_question": "Who is most credible on margin durability?",
"theme": "Pricing power"
})
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"ai_analysis": {},
"theme": "string",
"total_signals": 0
}
