GET/api/v1/personas/{persona_id}/summary
Get or generate a persona summary
What one persona thinks, summarised from its recent reactions.
PARAMETERS
- persona_idpath · stringREQUIRED
- Persona id, as returned by GET /api/v1/personas.e.g. string
- daysquery · integer
- Reactions from the last N days.e.g. 30
- force_refreshquery · boolean
- Regenerate the summary.e.g. true
- modelquery · string
- Model override.e.g. string
REQUEST
curl "https://gateway.kumkuat.ai/api/v1/personas/string/summary" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://gateway.kumkuat.ai/api/v1/personas/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/personas/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
}
