Search with a grounded answer
Runs a retrieval over your compiled knowledge base and returns the matched chunks together with an AI-generated answer grounded on them. The answer also reads up to five chunks either side of each match, so passages are not cut mid-thought; results lists only the matched chunks. Every chunk carries the kb_node_id of its source document, so a cited passage can be opened in full with GET /org/kb/nodes/{kb_node_id}. Each call consumes search credits.
Request
- Base URLhttps://apiv2.senso.ai/api/v1
- AuthAPI key in header X-API-Key
Headers
Send off to keep this search out of your organization's gap report. The search still runs, consumes credits and is recorded in search history; it is only never counted towards a gap. false, 0, no, skip and none mean the same, case-insensitively. Any other value, or no header, leaves the search eligible. Use it on automated, synthetic or test traffic. Only POST /org/search, /org/search/full and /org/search/stream ever file gaps; /org/search/context and /org/search/content accept the header and never file one either way.
Request body
Response
The matched chunks and the grounded answer.
Changes
No recorded changes to this operation across all 1 revision of this API.