clientId | Required client or service identifier. |
endpoint | Lynx API endpoint. Defaults to https://api.lynxops.co. |
workspaceId | Default workspace ID attached to events. |
agentId | Default agent ID attached to events. |
apiKey | API key for event ingestion. |
appVersion | Application version metadata. |
deploymentId | Deployment ID metadata. |
environment | Runtime environment metadata. |
policyVersion | Default policy version metadata. |
sampleRate | Sampling ratio from 0 to 1. |
captureInput | Whether input fields may be recorded. |
captureOutput | Whether output fields may be recorded. |
captureMode | full, metadata-only, or smart. |
maxPayloadLength | Maximum string length kept in smart mode. |
runtimeConfig.enabled | Loads managed prompts and policies before the first run(). |
runtimeConfig.refreshIntervalMs | Background refresh interval. Defaults to 60 seconds. |
runtimeConfig.maxStaleAgeMs | Maximum age of the last validated bundle. Defaults to 24 hours. |
runtimeConfig.requireSignature | Rejects unsigned runtime bundles. |
runtimeConfig.requireTargetMatch | Rejects an environment mismatch or unresolved Agent. |
runtimeConfig.cache.enabled | Persists the last validated bundle. Defaults to false. |
runtimeConfig.cache.path | Optional exact path for the .lynxconf cache. |
issueReporting.enabled | Sends issue candidates for detected failures when true. |
issueReporting.reportRunFailures | Reports root Run errors and explicit failed outcomes. |
issueReporting.reportLlmFailures | Reports errors from instrumented LLM calls. |
issueReporting.slowLlmThresholdMs | Slow LLM threshold. Defaults to 10 seconds; 0 disables it. |
issueReporting.slowLlmConsecutiveOccurrences | Consecutive slow observations required. Defaults to 2. |
issueReporting.recoverySuccessThreshold | Healthy observations required before sending recovery. |
delivery.mode | BACKGROUND or BLOCKING. |
delivery.timeoutMs | Timeout for one delivery request. |
delivery.flushOnRunEnd | Whether run() tries to flush after the callback finishes. |
delivery.flushIntervalMs | Background flush interval. |
delivery.batchSize | Event batch size. |
delivery.maxQueueSize | Maximum queued event count in memory. |
delivery.overflowStrategy | DROP_OLDEST or DROP_NEWEST. |
circuitBreaker.enabled | Enables delivery circuit breaker protection. |
circuitBreaker.failureThreshold | Consecutive failures before opening the breaker. |
circuitBreaker.cooldownMs | Cooldown before another send attempt. |