POST/api/v1/personas/interact
Interact with persona
Put a question, a draft or a workspace document in front of one persona and get its reply. Replies take 10 to 30 seconds. For a whole audience at once use POST /api/v1/personas/reaction-insights.
REQUEST BODY · APPLICATION/JSON · REQUIRED
{
"enable_follow_up_questions": false,
"input_content": "We are moving to usage-based pricing next quarter. How does that land with you?",
"interaction_type": "conversation",
"persona_id": "d4e9b2a1-6c3f-4b8e-9f21-0a7c5e3d1b60"
}
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/personas/interact" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"enable_follow_up_questions": false,
"input_content": "We are moving to usage-based pricing next quarter. How does that land with you?",
"interaction_type": "conversation",
"persona_id": "d4e9b2a1-6c3f-4b8e-9f21-0a7c5e3d1b60"
}'
import requests
r = requests.post("https://gateway.kumkuat.ai/api/v1/personas/interact", headers={"X-API-Key": "YOUR_KEY"}, json={
"enable_follow_up_questions": False,
"input_content": "We are moving to usage-based pricing next quarter. How does that land with you?",
"interaction_type": "conversation",
"persona_id": "d4e9b2a1-6c3f-4b8e-9f21-0a7c5e3d1b60"
})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://gateway.kumkuat.ai/api/v1/personas/interact", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({
"enable_follow_up_questions": false,
"input_content": "We are moving to usage-based pricing next quarter. How does that land with you?",
"interaction_type": "conversation",
"persona_id": "d4e9b2a1-6c3f-4b8e-9f21-0a7c5e3d1b60"
})
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"message": "Persona interaction completed",
"output_content": "Usage-based pricing tells me you expect customers to grow into the product. Show me the cohort data before I believe the revenue line.",
"persona_id": "string",
"response_language": "en"
}
