interface ClientConfigA function applied for masking serialized run inputs and outputs,
before sending to the API. Can be called with raw inputs, raw
outputs, or a nested { error: string } object for errors.
If a hideInputs or hideOutputs function is present,
the client will call it instead of the anonymizer as appropriate.
Maximum size of a batch of runs in bytes.
Maximum number of operations to batch in a single request.
Disable prompt caching for this client. By default, prompt caching is enabled globally.
Custom fetch implementation. Useful for testing.
HTTP headers for the response that caused the error
Whether to require manual .flush() calls before sending traces. Useful if encountering network rate limits at trace high volumes.
Maximum total memory (in bytes) for both the AutoBatchQueue and batchIngestCaller queue. When exceeded, runs/batches are dropped. Defaults to 1GB.
Whether to omit runtime information from traced runs. If true, runtime information (SDK version, platform, etc.) and LangChain environment variable metadata will not be stored in runs. Defaults to false.
The workspace ID. Required for org-scoped API keys.