Skip to content

NDC KB Agent API Deep Dive

The complete technical reference for a production KB Agent REST API - session management, query processing with intent routing, SSE streaming, hybrid retrieval with authority layers, dispute handling, and the observability endpoints that make the difference between debugging in production and guessing in production

7 min read
Depth:

Complete technical reference for the NDC KB Agent REST API built on FastAPI - covering session lifecycle management, query processing with intent routing and dispute detection, Server-Sent Events streaming, hybrid retrieval with authority-layered documents, history and export endpoints, observability with provenance tracking and aggregated analytics, error handling patterns, and the dependency injection architecture that keeps the system testable.