GET/api/v1/audiences/reactions/history
Get reaction history for a persona and document
Every reaction one persona has given to one document.
PARAMETERS
- persona_idquery · stringREQUIRED
- The persona.e.g. string
- document_idquery · stringREQUIRED
- The document.e.g. string
- limitquery · integer
- Most recent N entries.e.g. 1
REQUEST
curl "https://gateway.kumkuat.ai/api/v1/audiences/reactions/history?persona_id=string&document_id=string" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://gateway.kumkuat.ai/api/v1/audiences/reactions/history?persona_id=string&document_id=string", 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/reactions/history?persona_id=string&document_id=string", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"count": 1,
"document_id": "string",
"entries": [
{
"document_id": "string",
"id": "string",
"output_content": "",
"persona_id": "string",
"persona_name": "string",
"status_counts": {
"bad": 0,
"good": 0,
"warn": 0
}
}
],
"persona_id": "string"
}
