Skip to main content
POST
Search the knowledge base and return matched chunks with scores and citations

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Validates POST /v1/knowledge/search (HASP-513, ADR-FV2X8A).

max_chunks/similarity_threshold mirror the bounds UpdateRagSettingsRequest enforces on the org-level defaults these override per-call.

query
string
required
Maximum string length: 8000
max_chunks
integer | null
Required range: 1 <= x <= 20
similarity_threshold
number | null
Required range: 0 <= x <= 1

Response

data
any[][]
required
meta
object
required