v1
latestOpenAPI 3.1.02026-08-04253331435.1 KBSearch Procurement Guidelines
Search procurement guideline chunks via Postgres FTS.
At least one of institution_ids or query must be supplied — chunks table is 140K+ rows and we don't allow unbounded scans.
With query: results ranked by ts_rank_cd. Without query (institution-scoped browse): results sorted by document date descending.
query accepts a websearch-style string (same syntax as RFP / Grant / Meeting Minute / Budget search): bare words for stemmed match, "phrase" for exact phrase, OR, -word for exclude.
Set group_by_document=true to collapse to the highest-scoring chunk per document.
Semantic / LLM-synthesized answers are not in scope here — use the existing /v3/rag/query endpoint for that. This endpoint returns raw evidence rows for downstream reasoning.
Request body
Response
Successful Response