Skip to main content

Retrieve the most relevant chunks (one query unit)

POST 

/v1/knowledge_bases/:kb_id/search

One successful search is one query unit, including a successful search with zero results. Refused or failed searches are not charged. The query text is never stored or logged. With Idempotency-Key, a replay returns the same hits (re-checked against current visibility, so deleted content drops out) and is not charged again.

Access: API key scope knowledge:read or knowledge:write; portal users: any member of the organization; the knowledge base in the path must be on the key's access list.

Request​

Responses​

OK