A lightweight Vercel + Claude + Notion service that turns saved articles into structured knowledge notes.
KEA Release 0.2
/api/healthconfirms the deployment is live./api/format-articlevalidates incoming requests and returns a scaffold response.- Anthropic and Notion clients are configured for the next release.
- Environment variables are read safely from Vercel.
ANTHROPIC_API_KEYNOTION_TOKENKEA_WEBHOOK_SECRETCLAUDE_MODELPROMPT_VERSION
Visit:
https://YOUR-PROJECT.vercel.app/api/health
Expected response:
{
"status": "ok",
"service": "knowledge-extraction-agent",
"release": "0.2.0",
"promptVersion": "KEA-1.0.0",
"hasAnthropicKey": true,
"hasNotionToken": true
}curl -X POST https://YOUR-PROJECT.vercel.app/api/format-article \
-H "Content-Type: application/json" \
-d '{"pageId":"test-page-id","trigger":"manual","secret":"YOUR_WEBHOOK_SECRET"}'KEA Release 0.3 will connect the live endpoint to Claude and Notion page content.