provider business_knowledge GET /api/projects/{project_id}/business_knowledge/documents/search/
@utdk/posthog /api/projects/{project_id}/business_knowledge/documents/search/
business_knowledge_documents_search_list
Read-only access to parsed knowledge documents. Exposes hybrid search (``search``) and a drill-down window (``window``) so an agent (PHAI or MCP) can find and explore business knowledge chunks.
limit query
Maximum number of ranked chunks to return. Defaults to 10, capped at 20.
integer
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
query query required
Natural-language search query. Runs hybrid (semantic + full-text) retrieval over all SAFE, READY knowledge chunks in this project.
string
rerank query
When true, rerank search results with a listwise LLM pass for better relevance. Defaults to false (RRF order only). Falls back to RRF order on rerank failure.
boolean

Try it

Authentication
Configure credentials for PostHog API
businessKnowledgeDocumentsSearchList
GET/api/projects/{project_id}/business_knowledge/documents/search/
Read-only access to parsed knowledge documents. Exposes hybrid search (``search``) and a drill-down window (``window``) so an agent (PHAI or MCP) can find and explore business knowledge chunks.

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Maximum number of ranked chunks to return. Defaults to 10, capped at 20.

required

Natural-language search query. Runs hybrid (semantic + full-text) retrieval over all SAFE, READY knowledge chunks in this project.

When true, rerank search results with a listwise LLM pass for better relevance. Defaults to false (RRF order only). Falls back to RRF order on rerank failure.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.businessKnowledgeDocumentsSearchList()