Skip to main content

Documentation Index

Fetch the complete documentation index at: https://io.net/docs/llms.txt

Use this file to discover all available pages before exploring further.

Community management endpoints

Communities are groups of entities that are connected to each other. They can be generated using a clustering and summarization algorithm implemented by R2R. To automatically generate communities from entities and relationships present in the graph, you can use the following endpoint:
MethodEndpointDescription
GET/graphs/{collection_id}/communities/buildCreate a new community
Once communities are generated, you can manage them using the following endpoints. You can also add your own communities to the graph.
MethodEndpointDescription
GETgraphs/{collection_id}/communitiesGet relationships for a graph
POST/graphs/{collection_id}/communities/{community_id}Retrieve a community
POST/graphs/{collection_id}/communities/{community_id}Update community
DELETEgraphs/{collection_id}/communities/{community_id}Delete community