E61 Brain API
Knowledge Graph + RAG System for E61 Media
Endpoints
GET /api/health- Health checkPOST /api/query- Semantic searchPOST /api/ingest- Ingest documentsGET /api/graph- Graph overviewPOST /api/graph- Graph queriesPOST /api/tokens- Create API tokenGET /api/tokens- List tokensDELETE /api/tokens- Revoke token
Authentication
All endpoints (except health) require Bearer token authentication:
Authorization: Bearer your-api-token
Example Query
curl -X POST https://brain.e61-media.com/api/query \
-H "Authorization: Bearer your-token" \
-H "Content-Type: application/json" \
-d '{"query": "How do we handle authentication?"}'