Omnigraph
CLI

ingest

Load JSONL data into a reviewable named branch.

ingest loads JSONL data the same way load does, but creates (or reuses) a named branch for the load rather than writing to the caller's current branch. The result is a reviewable batch. Inspect the branch, validate it, and merge when ready.

Usage

omnigraph ingest <path> --data <file> --branch <name> [--from <base>] [options]

Arguments

ArgumentRequiredDescription
pathyesGraph URI (local path or s3://); required unless resolved from --target / --config

Options

OptionRequiredDefaultDescription
--datayesPath to a .jsonl file containing node and edge records
--branchnoinferredName of the branch to create or reuse for the ingest
--fromnomainBase branch the new branch forks from
--modenomergeLoad mode: overwrite, append, or merge
--targetnoNamed graph from omnigraph.yaml
--confignoPath to an omnigraph.yaml
--jsonnoOutput a structured ingest summary

When to use ingest vs load

CommandBranch behaviorDefault modeTypical use
loadWrites to the caller's branch (--branch or main)overwriteBootstrapping a graph; replacing a known table
ingestCreates / writes a dedicated branchmergeReviewable agent batches; periodic data syncs that need approval before landing

Examples

Stage a daily import on a review branch and merge after validation:

omnigraph ingest ./graph.omni \
    --data ./batch-2026-05-27.jsonl \
    --branch review/import-2026-05-27

# Inspect the new branch
omnigraph snapshot ./graph.omni --branch review/import-2026-05-27
omnigraph read --uri ./graph.omni --query validation.gq --branch review/import-2026-05-27

# Merge when satisfied
omnigraph branch merge --uri ./graph.omni review/import-2026-05-27 --into main

Fork a review branch from a non-main base:

omnigraph ingest ./graph.omni \
    --data ./enrichment.jsonl \
    --branch enrichment-run-042 \
    --from feature-x

On this page