HTTP API
Insights, anomalies, LLM
Aggregates only. Configure the provider with PATCH /api/team/llm.
GET /insights
Generated copy from the last run. Empty if no provider is configured (V5_LLM_PROVIDER=none).
GET /anomalies
Flags from the rollup series — spikes in a crawler, a sudden drop in humans, a page that started getting crawled but never referred. Numbers are labelled observed or inferred.
PATCH /api/team/llm
body
{
"provider": "ollama",
"model": "llama3.2"
}Providers: ollama (default model llama3.2), OpenAI-compatible endpoints, anthropic, gemini. Env fallbacks: V5_LLM_PROVIDER, V5_LLM_MODEL, OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, OLLAMA_HOST.
What the model sees
aggregates only
// Everything the model receives. Nothing else.
{
"period": "2026-08-31 → 2026-09-06",
"visitors": { "human": 12480, "human_via_ai": 1731, "delta_wow": 0.08 },
"ai_referrals": { "chatgpt": 1190, "perplexity": 402, "claude": 139 },
"crawlers": { "GPTBot": 2210, "ClaudeBot": 980, "PerplexityBot": 712 },
"crawl_to_referral": [
{ "page": "/pricing", "crawled": 340, "referred": 2 },
{ "page": "/docs/middleware", "crawled": 128, "referred": 61 }
]
}Something off? Open an issue · Edit on GitHub

