Graph

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

post/graph/{name}/update

Path parameters

namestring required

Headers

authorizationstring

Request body

additional_filtersobject nullable

Optional additional metadata filters to determine which new documents to include

additional_documentsstring[] nullable

Optional list of additional document IDs to include

end_user_idstring nullable

Optional end-user scope for the operation

Response

Successful Response

idstring
namestring required
metadataobject
system_metadataobject
document_idsstring[]
filtersobject nullable
created_atstring date-time
updated_atstring date-time
folder_namestring nullable
end_user_idstring nullable
app_idstring nullable

Changes