Skip to main content
POST
/
api
/
r2r
/
v3
/
graphs
/
{collection_id}
/
pull
Pull latest entities to the graph
curl --request POST \
  --url https://api.intelligence.io.solutions/api/r2r/v3/graphs/{collection_id}/pull \
  --header 'Authorization: Bearer <token>'
{
  "results": {
    "success": true
  }
}
This endpoint:
  1. Copies document entities to the graphs_entities table
  2. Copies document relationships to the graphs_relationships table
  3. Associates the documents with the graph
When a document is added:
  • Its entities and relationships are copied to graph-specific tables
  • Existing entities/relationships are updated by merging their properties
  • The document ID is recorded in the graph’s document_ids array
Documents added to a graph will contribute their knowledge to:
  • Graph analysis and querying
  • Community detection
  • Knowledge graph enrichment
The user must have access to both the graph and the documents being added.

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 to rebuild the graph for

Response

200

results
object
I