Moderate content in real-time with Kayle’s open-source API. Keep your platform safe and your users happy in minutes.
// this is the message you want to moderate const message = "Hello, world!"; // now create the request const res = await fetch('https://api.kayle.ai/v1/moderate', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer <YOUR_API_KEY>' }, body: JSON.stringify({ type: 'text', data: {message}, parties: ['<YOUR_USER_ID(s)>'] }) }); // now continue with the response!
Hunt for words or phrases that violate Kayle’s policy.
By using Kayle’s Hunting Terminal, you provide us with valuable data that helps us improve our filters.
Kayle’s Hunting Terminal
Here you can see whether a message will be flagged by Kayle’s filters!
kayle@ai~$: run hunter
Awaiting message