mindgap_ingest
Writes nodes and edges in a single transaction, validating that all edge endpoints exist in the database or payload, and returns persisted rows to confirm the write.
Instructions
Validated batch write (workhorse). Upserts nodes + adds edges in one transaction; rejects the WHOLE payload (no partial commit) if any edge endpoint is neither in the DB nor in the payload. Returns the persisted rows so a caller can't claim a write that didn't land.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created_by | Yes | ||
| nodes | No | ||
| edges | No |