Skip to main content

`POST /v1/retrieval`

POST 

/v1/retrieval

Ai.retrieval .

hybrid retrieval: vector similarity (pgvector) + keyword (tsvector, when pgvector is absent) + metadata filters + permission filter from the caller's data_scope. Standard RLS env_id match is the backstop; the data_scope filter is defense-in-depth.

Request​

Responses​

Retrieved chunks (permission-filtered)