cURL
curl --request GET \ --url https://api.example.com/api/communities
{ "communities": [ {} ], "modularity": 123, "iterations": 123, "community_count": 123 }
Retrieve detected communities using the Louvain algorithm.
community_id
u64
node_ids
u64[]
size
usize
{ "communities": [ { "community_id": 1, "node_ids": [1, 5, 12, 34, 56], "size": 5 }, { "community_id": 2, "node_ids": [2, 8, 15, 22], "size": 4 } ], "modularity": 0.68, "iterations": 3, "community_count": 2 }