POST · Backfill entities

Re-run entity extraction over memories that pre-date entity support. Paid plan only.

POST /api/entities/backfill

Run entity extraction over memories that don't have an entity-linked metadata yet. Useful after upgrading from a Mnueron version that didn't yet support P2 entities, or after bulk-importing legacy memories.

⚠️ Paid plan required. Uses the operator's Anthropic/OpenAI key on the backend — BYOK is not honored on this endpoint.

curl -X POST https://www.mnueron.com/api/entities/backfill \
  -H "Authorization: Bearer $MNUERON_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "namespace": "work",
    "since": 1730000000000,
    "limit": 100,
    "dry_run": false
  }'

Body

FieldTypeDefaultNotes
namespacestringRestrict the backfill window
since / untilintEpoch ms
limitint1001..1000 memories per call
forceboolfalseRe-extract even on memories that already have entities
dry_runboolfalseScore the extraction without writing

Response

{
  "processed": 47,
  "extracted": 39,
  "resolved": 35,
  "skipped": 8,
  "errors": 0,
  "memories": [
    { "id": "01HQ…", "entities_added": 3, "entities_reused": 2 }
  ]
}

402 when called on a free org (upgrade_required: true in the body).

Last updated 2026-05-24edit