The search endpoint performs a case-insensitive full-text search across node content and returns every matching node. It uses PostgreSQL’sDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/DrDigett/Babel/llms.txt
Use this file to discover all available pages before exploring further.
ILIKE operator to match the trimmed query string against the title, description, author, and tags columns simultaneously — any node that matches in at least one field is included in the response.
GET /api/search
Query parameters
Search query string. Trimmed and capped at 200 characters before the query is executed. Returns an empty array if this parameter is missing or blank.
Behavior
The server builds anOR condition across four columns:
Response
Returns a JSON array ofNode objects. Returns an empty array [] when no nodes match or when q is not provided.
Search is not ranked by relevance — it returns all nodes that contain the query string in any of the four fields, with no ordering guarantee. Tags are stored as a JSON string in the database, so the query matches against the raw serialized value. For example, searching for
filosofia will match a node whose tags column contains ["filosofia","marxismo"] because the substring appears in the stored text.