Exporter, policy, pricing, and environment setup for the Captar SDK.
exporter: { url: process.env.CAPTAR_INGEST_URL!, apiKey: process.env.CAPTAR_INGEST_API_KEY, }
defaultPolicy: { budget: { maxSpendUsd: 2, finalizationReserveUsd: 0.2, }, call: { allowedModels: ["gpt-4.1-mini"], maxEstimatedCostUsd: 0.5, }, tool: { blockedTools: ["billing.refundWithoutReview"], }, }
OPENAI_API_KEY=... CAPTAR_INGEST_URL=http://localhost:3000/api/ingest CAPTAR_INGEST_API_KEY=