Execute an RQL query
Execute SQL-like queries against documents using ReasonDB Query Language (RQL).
Supports:
- WHERE clauses for filtering by tags, author, metadata
- SEARCH clause for BM25 full-text search (fast keyword matching)
- REASON clause for LLM semantic search (intelligent answer extraction)
- GROUP BY and aggregate functions (COUNT, SUM, AVG)
- EXPLAIN to view query execution plans
Request body
Example request
{
"query": "SELECT * FROM legal WHERE author = 'Alice' LIMIT 10"
}Response
Query executed successfully
Changes
Changed in 3 of the 7 revisions of this API.257
- ▲
the
response's property type changed fromobjectto no type for statusresponse-property-type-changed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ○
added to the
response propertyallOflist for the response statusresponse-property-all-of-added
- ▲
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ●
- ▲
the
response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
removed from the
response propertyallOflist for the response statusresponse-property-all-of-removed
This revision also has 12 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲