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, but the command needs both to run.

KeyTypeSchema defaultOverride viaDescription
syncUrlstringnoneINGRAIN_SYNC_URL env varBase URL of the backend’s context API. Must be https (or http on localhost). Trailing slash is trimmed.
ingrainApiTokenstringnoneINGRAIN_API_TOKEN env varAPI token (ingrn_…) exchanged for a short-lived session token.

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]. Supply your credentials through ingrainApiToken, which the CLI exchanges for a short-lived session token.

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