Skip to main content

Agent-facing index-first knowledge-base retrieval (PLT-283)

POST 

/api/kb/query

Agent-facing index-first knowledge-base retrieval (PLT-283). Runs the same queryKnowledgeBase read the coordinator brain uses, under the calling agent’s own auth, so the wiki RLS + an UNCLASSIFIED classification cap scope every read to what the caller may see. Returns the rendered KB section (index + recent synthesis pages, capped to the coordinator context budget) plus a citations array. Backs the query_knowledge_base MCP tool and the pt query-kb CLI.

Request

Responses

Successful response