Skip to main content
POST
/
api
/
r2r
/
v3
/
graphs
/
{collection_id}
/
communities
/
build
Create a new community
curl --request POST \
  --url https://api.intelligence.io.solutions/api/r2r/v3/graphs/{collection_id}/communities/build \
  --header 'Authorization: Bearer <token>'
{
  "results": {
    "message": "message"
  }
}
Creates communities in the graph by analyzing entity relationships and similarities. Communities are created through the following process:
  1. Analyzes entity relationships and metadata to build a similarity graph
  2. Applies advanced community detection algorithms (e.g. Leiden) to identify densely connected groups
  3. Creates hierarchical community structure with multiple granularity levels
  4. Generates natural language summaries and statistical insights for each community
The resulting communities can be used to:
  • Understand high-level graph structure and organization
  • Identify key entity groupings and their relationships
  • Navigate and explore the graph at different levels of detail
  • Generate insights about entity clusters and their characteristics
The community detection process is configurable through settings like:
  • Community detection algorithm parameters
  • Summary generation prompt

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

collection_id
string
required

ID of the collection

Response

200

results
object
I