Lists are named collections that group nodes into an explicit, ordered sequence with an optional per-entry rating. Where the main graph view shows your entire knowledge library at once, a list lets you carve out a focused subset — a reading queue, a film festival watchlist, a semester’s course materials — and view it as its own self-contained subgraph.Documentation 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.
List fields
List IDs are short 4-character alphanumeric slugs (e.g.
x7k2) rather than UUIDs. This keeps URLs readable when you scope the graph view to a list via ?listId=x7k2. The server retries generation up to ten times to guarantee uniqueness.ListWithNodes
TheGET /api/lists/:id endpoint returns a richer shape that includes the full node data for every member of the list, augmented with list-specific fields. The canonical TypeScript type adds position:
listRating: number | null to each node entry — sourced from the list_nodes.rating column — giving each entry the following effective shape:
position ascending, so consumers do not need to sort client-side.
List operations
Create a list — POST /api/lists
Create a list — POST /api/lists
List object with status 201 Created. If name is omitted the list ID is used as its name.Add a node to a list — POST /api/lists/:id/nodes
Add a node to a list — POST /api/lists/:id/nodes
409 Conflict if the node is already in the list.Rate a node within a list — PUT /api/lists/:id/nodes/:nodeId/rating
Rate a node within a list — PUT /api/lists/:id/nodes/:nodeId/rating
listRating for that node inside this list only. Pass null to clear the rating.Reorder nodes — PUT /api/lists/:id/nodes/reorder
Reorder nodes — PUT /api/lists/:id/nodes/reorder
Send the full ordered array of node IDs. The server assigns each ID its index (0, 1, 2, …) as its new
position.Remove a node from a list — DELETE /api/lists/:id/nodes/:nodeId
Remove a node from a list — DELETE /api/lists/:id/nodes/:nodeId
Removes the node from the list without deleting the node itself from the database. Returns
404 Not Found if the node is not in the list.Graph view integration
Append?listId=<id> to the graph URL to display only the nodes belonging to that list:
listId query parameter is present, the graph view:
- Fetches the
ListWithNodesresponse for that list. - Filters the global node set down to only the IDs returned in
nodes. - Filters the global relations set to only edges where both
sourceIdandtargetIdare in the list.
Auto-seeded list
On first start, BaBel+ seeds the database with sample content and automatically creates a list named “Todos los nodos” that contains all seeded nodes. This list gives you a ready-made canvas to explore the graph immediately after installation.You can rename, edit, or delete the seeded list at any time. Deleting a list removes only the list and its membership records — the nodes themselves are never deleted.
See also
- Lists API — full REST reference for all list and list-node endpoints