visualize
Visualize Brains
Return every dataset the caller may read, each as a small graph preview.
No dataset_id: this is the Brains overview, not one brain. Built on
the same union CLO-399 already uses to decide which datasets a user
can see — their own, their tenant’s, and anything granted to a role
they belong to — so a dataset shared with a group appears here with
no separate authorization logic.
Query Parameters
- max_nodes (int): Node cap applied independently to each dataset (default 500) — there is no larger, separate cap for “all datasets at once”.
Response
{dataset_id: {"name", "nodes", "links", "node_set_colors"}}.
Notes
- Only datasets the caller has read permission on are included
GET
Visualize Brains
Visualize Brains