Intelligence API
Base path /api/intelligence — JWT required. Deep analysis and synthesis over a project's sources: structured extraction, gap analysis, and the semantic knowledge graph.
Endpoints
| Method | Path | Purpose |
|---|---|---|
| GET | /api/intelligence/:projectId | Current intelligence state for the project |
| POST | /api/intelligence/:projectId/synthesize | Run full synthesis (SSE) |
| GET | /api/intelligence/:projectId/graph | Return stored knowledge-graph nodes |
| POST | /api/intelligence/:projectId/graph | Build the semantic graph (SSE) |
Synthesis
POST /synthesize batch-processes sources with Claude to extract structured domain data (dosing, mechanisms, interactions, lab markers, …), accumulated on each source's domain_data, and identifies coverage gaps. Streams progress over SSE.
Knowledge graph
POST /graph builds entities + typed relationships from analyzed sources; GET /graph returns the stored knowledge nodes. When a packet is published, these relationships become the registry's cross-packet edges that power graph-aware retrieval and authority.
→ Related: Research · Knowledge Graph