improve
Improve
Enrich and improve the knowledge graph.
This is a memory-oriented alias for the memify endpoint. It runs enrichment tasks on an existing knowledge graph.
Request Parameters
- extraction_tasks (Optional[List[str]]): Tasks for graph/data extraction.
- enrichment_tasks (Optional[List[str]]): Tasks for graph enrichment.
- data (Optional[str]): Custom input data. Uses existing graph when empty.
- dataset_name (Optional[str]): Dataset name.
- dataset_id (Optional[UUID]): Dataset UUID.
- node_name (Optional[List[str]]): Filter to specific named entities.
- run_in_background (Optional[bool]): Run asynchronously (default: False).
- build_global_context_index (Optional[bool]): Build the global context index after enrichment (default: False).
Either dataset_name or dataset_id must be provided.
- sessionIds (Optional[List[str]]): Session identifiers whose cached memory entries are used as input for enrichment.
Error Codes
- 400 Bad Request: Neither dataset_id nor dataset_name provided
- 409 Conflict: Error during processing
POST
Improve
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Example:
Example:
Example:
""
Example:
Example:
Response
Successful Response