[context]
Connection settings for ingrain context, which searches
the Ingrain Context Platform (your organization’s ingested documents and recorded
security rules). Both fields are optional, but the command needs both to run.
| Key | Type | Schema default | Override via | Description |
|---|---|---|---|---|
syncUrl | string | none | INGRAIN_SYNC_URL env var | Base URL of the backend’s context API. Must be https (or http on localhost). Trailing slash is trimmed. |
ingrainApiToken | string | none | INGRAIN_API_TOKEN env var | API token (ingrn_…) exchanged for a short-lived session token. |
Where these keys are read from
Section titled “Where these keys are read from”syncUrl and ingrainApiToken are honored from your user-level conf.toml — the
path ingrain config prints — or from the environment.
Validation
Section titled “Validation”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.
Example
Section titled “Example”[context]syncUrl = "https://api.example.com/ingrain-agent-sync"ingrainApiToken = "ingrn_..."See also
Section titled “See also”contextcommand — searches your documents and security rules using these settings.