Skip to content

[context]

Connection settings for ingrain context, which searches your organization’s recorded security rules on the Ingrain Context Platform. Both fields are optional in the file — but the command needs both to run.

KeyTypeSchema defaultOverride viaDescription
syncUrlstringnoneINGRAIN_SYNC_URL env varBase URL of the Ingrain Context Platform’s sync endpoint. Must be https (or http on localhost). Trailing slash is trimmed.
ingrainApiTokenstringnoneINGRAIN_API_TOKEN env varYour API token (ingrn_…).

syncUrl and ingrainApiToken are honored from your user-level conf.toml — the path ingrain config prints — or from the environment.

syncUrl must use https, or http on a loopback host such as localhost, 127.0.0.1, or [::1]. A trailing slash is trimmed.

[context]
syncUrl = "https://api.example.com/ingrain-agent-sync"
ingrainApiToken = "ingrn_..."