remy
remy

Ask Remy Data Endpoint

Ask a plain-English question about the Remy tables and get the rows back.

gpt-4o-mini writes one SELECT against the remy_* schema; it is checked before it runs and then executed READ ONLY under its own statement timeout, so no question can write, reach another schema, or hold a worker open. The statement comes back on the response so any answer can be audited against what actually ran.

Internal accounts only — a generated statement cannot be reliably scoped to one user's roster, so the route is gated on shared-corpus access rather than trusting the model to filter by user_id.

post/api/v1/remy/ask

Request body

questionstring required

Response

Successful Response

questionstring required
answerableboolean required
sqlstring nullable
explanationstring nullable
row_countinteger
rowsobject[]
truncatedboolean

Changes

Changed in 1 of the 15 revisions of this API.1

Of the 15 revisions, 1 has no diff computed.