GET/api/v1/audiences/{category}/summary
Get or generate an audience summary
What this audience thinks, summarised from its recent reactions.
PARAMETERS
- categorypath · stringREQUIRED
- Audience category, as listed by GET /api/v1/audiences.e.g. string
- daysquery · integer
- Reactions from the last N days.e.g. 30
- company_tagquery · string
- Only reactions to documents from this company.e.g. string
- pillarquery · string
- Only reactions on this narrative pillar.e.g. string
- force_refreshquery · boolean
- Regenerate the summary.e.g. true
- modelquery · string
- Model override.e.g. string
REQUEST
curl "https://gateway.kumkuat.ai/api/v1/audiences/string/summary" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://gateway.kumkuat.ai/api/v1/audiences/string/summary", 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/audiences/string/summary", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"cache_hit": true
}
