Update Graph
Update an existing graph with new documents.
This endpoint processes additional documents based on the original graph filters and/or new filters/document IDs, extracts entities and relationships, and updates the graph with new information.
Args: name: Name of the graph to update request: UpdateGraphRequest containing:
- additional_filters: Optional additional metadata filters to determine which new documents to include
- additional_documents: Optional list of additional document IDs to include
- prompt_overrides: Optional customizations for entity extraction and resolution prompts
- folder_name: Optional folder to scope the operation to
- end_user_id: Optional end-user ID to scope the operation to auth: Authentication context
Returns: Graph: The updated graph object
Headers
Path Parameters
Body
Request model for updating a graph
Optional additional metadata filters to determine which new documents to include
Optional list of additional document IDs to include
Optional customizations for entity extraction and resolution prompts
Optional folder scope for the operation
Optional end-user scope for the operation
Response
Represents a knowledge graph
Represents an entity in a knowledge graph
Represents a relationship between entities in a knowledge graph
Was this page helpful?