POST/api/v1/personas/{persona_id}/link-external-source
Link external source to persona
Link an external source (e.g. a journalist's column, a blog, or a publication URL)<br/>to a persona by creating a knowledgebase with a web/RSS watcher source.<br/>If the persona already has an external-source KB, the existing one is returned.
PARAMETERS
- persona_idpath · stringREQUIRED
- Persona id, as returned by GET /api/v1/personas.e.g. string
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/personas/string/link-external-source" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.post("https://gateway.kumkuat.ai/api/v1/personas/string/link-external-source", 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/link-external-source", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
