Pull latest entities to the graph
Adds documents to a graph by copying their entities and relationships.
This endpoint:
- Copies document entities to the graphs_entities table
- Copies document relationships to the graphs_relationships table
- 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.
Path parameters
collection_id
The ID of the graph to initialize.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
X-API-Key
Request
If true, forces a re-pull of all entities and relationships.
Response
Successful Response
results