POST/api/v1/personas/{persona_id}/feedback
Submit persona response feedback
Submit feedback for a persona response (thumbs up/down + description).
PARAMETERS
- persona_idpath · stringREQUIRED
- Persona id, as returned by GET /api/v1/personas.e.g. string
REQUEST BODY · APPLICATION/JSON · REQUIRED
{
"description": "Too eager to accept the pricing change; a CFO would ask about churn first.",
"feedback_type": "negative"
}
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/personas/string/feedback" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"description": "Too eager to accept the pricing change; a CFO would ask about churn first.",
"feedback_type": "negative"
}'
import requests
r = requests.post("https://gateway.kumkuat.ai/api/v1/personas/string/feedback", headers={"X-API-Key": "YOUR_KEY"}, json={
"description": "Too eager to accept the pricing change; a CFO would ask about churn first.",
"feedback_type": "negative"
})
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/feedback", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({
"description": "Too eager to accept the pricing change; a CFO would ask about churn first.",
"feedback_type": "negative"
})
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"feedback_id": "string",
"message": "Persona feedback recorded successfully"
}
