v84

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-0985248447.1 KB
Knowledge bases

Search Knowledge Base

Search a knowledge base and return matching snippets or pages.

post/v1/knowledge-bases/{knowledge_base_id}/search

Path parameters

knowledge_base_idstring uuid required

Unique knowledge base ID.

Unique knowledge base ID.

Query parameters

organization_idstring uuid nullable

Organization scope for API keys that can access multiple organizations.

Organization scope for API keys that can access multiple organizations.

Request body

querystring required

Search query.

top_kinteger required

Maximum number of results to return.

return_full_pageboolean

Return full page content instead of snippets.

Response

Successful Response