Skip to main content
Nowledge MemNowledge Mem

Trigger Kg Extraction

POST
/agent/trigger/kg-extraction

Extract entities and relationships from memories.

Builds the knowledge graph by analyzing memory content. Use backfill=true to queue the next bounded backfill wave for unprocessed memories, or pass specific memory_ids to target individual ones.

Query Parameters

backfill?Backfill
Defaultfalse
memory_ids?|

Comma-separated memory IDs for scoped extraction

scan_limit?|null
batch_size?|null
repair_empty?Repair Empty

When backfill=true, process a bounded repair wave for memories previously marked extracted but carrying no graph facts.

Defaultfalse

Response Body

application/json

application/json

curl -X POST "https://example.com/agent/trigger/kg-extraction"
{  "property1": "string",  "property2": "string"}