Draft from your website#
curl -s -X POST https://kroos.ai/api/tenant/knowledge/draft \
-H "authorization: Bearer kroos_sk_..." -H "content-type: application/json" \
-d '{"url":"https://example.com"}'Kroos reads up to a handful of public pages (respecting robots.txt) and returns a draft model. Nothing is published until you save it.
Read and save#
GET /api/tenant/knowledge returns the current model; PUT /api/tenant/knowledge replaces it.
{
"name": "Bright Smile Dental",
"summary": "Family dental clinic offering checkups, whitening and emergency care.",
"homepage": "https://brightsmile.example",
"offerings": [
{ "id": "off_1", "name": "Checkup & cleaning", "description": "...", "url": "https://brightsmile.example/checkups",
"price": "$120", "industries": ["health"], "regions": ["GLOBAL"], "stages": ["any"], "solves": ["customer_support"] }
],
"topQuestions": [
{ "q": "Do you take walk-ins?", "a": "Yes, weekdays 9–11am.", "url": "https://brightsmile.example/visit", "approved": true }
],
"promos": [ { "text": "New patient exam $59", "valid_until": "2027-01-31", "url": "https://brightsmile.example/new" } ],
"pages": [ { "url": "https://brightsmile.example/visit", "title": "Visit us", "text": "..." } ],
"helpCopy": "Ask about appointments, prices or insurance.",
"languages": ["en", "es"],
"competitors": ["Example Dental Group"],
"publishVerifiedStats": false
}- Only
approved: truequestions are shown and used as answers. - Expired promos are never shown.
- Saving rebuilds your knowledge graph (offerings, prices, intents, promos), so price questions such as "under $50" are answered from structured data.
- Visitor corrections never change knowledge directly; they wait in your review queue.
Teach what's missing#
Questions your chatbot couldn't answer are clustered into content gaps.
| Request | Purpose |
|---|---|
GET /api/tenant/learning | Gaps, suggested top questions, pending corrections |
POST /api/tenant/learning/answer | Answer a gap (question, answer, optional url) |
POST /api/tenant/learning/items/:id | Approve or dismiss a pending item (status) |
Deep crawl (verified domains)#
POST /api/tenant/knowledge/deep-crawl starts a learning session that reads your site through its sitemap and queues new prices for review. You confirm the results before your chatbot uses them. GET /api/tenant/sitemap-health then reports pages missing from the sitemap, orphans, broken pages, stale pages and approved questions your site doesn't answer.
kroos.json and the capabilities feed#
Kroos publishes your verified, approved facts so AI assistants and partners can cite them accurately.
| Resource | URL |
|---|---|
| Capabilities feed | https://kroos.ai/api/feed/<orgId>/capabilities.json |
| Signed manifest to host on your domain | https://<your-domain>/.well-known/kroos.json (get the content from Knowledge → Kroos Intelligence) |
| Manifest signing key | DNS TXT _kroos-key.<your-domain> |
| Verified badge | https://kroos.ai/badge/<orgId>.svg |
| MCP endpoint for AI assistants | https://api.kroos.ai/mcp/tenant/<orgId> (MCP) |
The manifest is signed with an Ed25519 key per organization. The badge can show measured activity if you set publishVerifiedStats.
Insights#
| Request | Returns |
|---|---|
GET /api/tenant/intel | Demand insights from real visitor questions |
PUT /api/tenant/intel/competitors | Names to track (counts only, never visitor identities) |
GET /api/tenant/intel/forecast | Demand trend forecasts |
GET /api/tenant/intel/visibility | AI visibility readiness and sampled assistant answers (details) |
GET /api/intel/trends | Network-wide trends (topics with 5+ organizations, privacy noise added) |