Configure the auditor singleton. Provider-call resilience uses the separate resilience key — see ResiliencePolicy.
Agent hint
Use for api_key, ledger_path, cloud_sync, flush intervals, storage_mode, and pricing paths.
In scope
Out of scope
| Python | Node.js | Default | Description |
|---|---|---|---|
| api_key | apiKey | None | Project API key; enables cloud sync. |
| project | project | "default" | Logical project label. |
| ledger_path | ledgerPath | .aurex/ledger.jsonl | Local JSONL ledger path. |
| per_process_ledger | perProcessLedger | True | Append worker suffix; set False in unit tests. |
| cloud_sync | cloudSync | False / auto | Background POST to /ledger/events. |
| base_url | baseUrl | localhost API | Backend REST base URL. |
| local_only | localOnly | True | Skip cloud even if key is set. |
| storage_mode | storageMode | "file" | file or memory (auto-fallback if FS unwritable). |
| flush_interval_seconds | flushIntervalMs | 30s / 30000ms | Background flush interval. |
| max_batch_size | maxBatchSize | 100 | Events per upload batch. |
| max_queue_size | maxQueueSize | 10000 | Bounded in-memory queue. |
| sync_timeout_seconds | syncTimeoutMs | 10s / 10000ms | HTTP timeout per sync attempt. |
| sync_max_retries | syncMaxRetries | 3 | Cloud sync retries with jitter. |
| sync_prompt_hashes | syncPromptHashes | False | Include prompt hashes in cloud payload. |
| pricing_path | pricingPath | None | Custom pricing JSON path. |
| default_pricing | defaultPricing | 1.50 / 6.00 | USD per 1M tokens fallback. |
| budget_guard | budgetGuard | {} | Spend circuit breaker — see BudgetGuard. |
| resilience | resilience | enabled: false | Provider-call retry/fallback — see ResiliencePolicy. |