v1

latestOpenAPI 3.1.02026-08-04253331435.1 KB
RAG

Query Rag Data

Query RAG data

Args: unique_id: Institution's unique ID (e.g., "k12_602442") search_category: Category to search (e.g., meeting_minutes, procurement_guidelines, youtube) preprocessed_data: Output from the /rag/preprocess endpoint

Returns: RAG response with content, citations, and summary

post/api/v3/rag/query

Request body

unique_idstring required
search_categorystring required
preprocessed_dataobject required

Response

Successful Response

typestring required
contentstring required
citationsobject[] required
summarystring required
is_starredboolean required