SDK config propagation allows LumiqTrace to push configuration changes — model overrides, sample rate adjustments, guardrail toggles — to your running application without a code change or redeployment. The mechanism is built into the ingest response and adds no latency to your LLM calls.Documentation Index
Fetch the complete documentation index at: https://docs.lumiqtrace.com/llms.txt
Use this file to discover all available pages before exploring further.
How it works
Every time your SDK flushes a batch of events toPOST /v1/ingest, the response body includes a cv (config version) integer:
cv value to the last version it fetched. If the server version is higher, the SDK makes a single background request to GET /v1/sdk/config and applies the returned configuration rules immediately — without blocking any LLM call in progress.
What can be propagated
The following SDK behaviors can be updated at runtime via config propagation:| Rule type | Effect |
|---|---|
model_override | Redirect all calls for a given model to a different model |
sample_rate | Increase or decrease the fraction of events traced |
guardrail_enable | Enable or disable guardrails on a wrapper |
pii_redact_keys | Add keys to the redaction list |
log_level | Toggle debug logging |
disable_tracing | Stop all tracing immediately (circuit breaker) |
Updating config from LumiqPilot
The most common way to push a config change is through LumiqPilot, the AI copilot accessible via ⌘J in the dashboard. You can ask it in plain English:- “Switch all GPT-4o calls to GPT-4o-mini”
- “Set the sample rate to 20% for the production project”
- “Disable tracing for the next hour”
- “Enable guardrails on the support-agent project”
cv counter. Within the next flush cycle, all running SDK instances pick up the change.
Updating config from the dashboard
You can also manage SDK config rules directly from Settings → SDK Config in the dashboard:- Click New rule to open the rule editor.
- Choose the rule type and fill in the parameters.
- Click Apply — the
cvcounter increments immediately.
Fetching config manually (advanced)
The SDK exposes a method to force an immediate config refresh outside the normal flush cycle:- TypeScript
- Python
GET /v1/sdk/config and applies the returned rules before returning. Call it during application startup if you want to ensure the latest config is loaded before any LLM calls are made.
Disabling config propagation
If you do not want the SDK to accept remote config changes — for example, in a high-security environment — setdisableConfigSync: true at initialization:
- TypeScript
- Python
cv field in ingest responses and never fetches remote config. All behavior is determined solely by the options passed to init().