{"uid":"cap_hD20r7EfqwAgAbKiXMvDf","slug":"brazil-company-decision-engine-cdo-6da4d22c","name":"Brazil Company Decision Engine (CDO)","description":"Brazil Company Decision — Guaranteed Agent Outcome. Give a CNPJ, your objective, budget and required confidence; we progressively consult the minimum necessary sources, stop at the decision threshold, and return a signed, evidence-backed, machine-executable decision. CNPJ only. Use the free preflight before payment to confirm resolvability and reachable coverage.","url":"https://cdo-production.up.railway.app/v1/agent/decide","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"policy":{"type":"object","properties":{"policy_id":{"type":"string","maxLength":120}},"description":"Reference an existing built-in/custom policy by id.","additionalProperties":false},"subject":{"type":"object","required":["cnpj"],"properties":{"cnpj":{"type":"string","pattern":"^[0-9./\\s-]{11,20}$","maxLength":20,"minLength":11,"description":"Brazilian CNPJ — 14 digits, with or without punctuation (e.g. 11222333000181 or 11.222.333/0001-81). CPF (11-digit personal id) is rejected by policy."},"type":{"type":"string","maxLength":40,"description":"Entity type; defaults to BRAZILIAN_COMPANY."}},"additionalProperties":false},"question":{"type":"string","maxLength":500,"description":"Optional free-text question for context (does not drive the decision)."},"objective":{"type":"string","examples":["SUPPLIER_ONBOARDING","VENDOR_PAYMENT_APPROVAL","COUNTERPARTY_RISK_ASSESSMENT","MERCHANT_SCREENING"],"maxLength":80,"description":"SUPPLIER_ONBOARDING | VENDOR_PAYMENT_APPROVAL | COUNTERPARTY_RISK_ASSESSMENT | MERCHANT_SCREENING (semantic aliases accepted; unknown values fall back to a default policy family)."},"constraints":{"type":"object","properties":{"max_cost_usd":{"type":"number","minimum":0,"description":"USD, must be >= 0."},"maximum_latency_ms":{"type":"number","maximum":600000,"description":"Milliseconds, must be > 0.","exclusiveMinimum":0},"minimum_confidence":{"type":"number","maximum":100,"minimum":0,"description":"0–100."}},"additionalProperties":false},"transaction":{"type":"object","properties":{"currency":{"type":"string","maxLength":8},"value_usd":{"type":"number","maximum":1000000000000,"minimum":0},"criticality":{"enum":["LOW","MEDIUM","HIGH","CRITICAL"],"type":"string"}},"additionalProperties":false},"risk_context":{"type":"object","properties":{"jurisdiction":{"type":"string","maxLength":8,"description":"ISO country; only BR is served."},"risk_appetite":{"enum":["CONSERVATIVE","MODERATE","AGGRESSIVE"],"type":"string"}},"additionalProperties":false},"custom_policy":{"type":"object","description":"Inline custom policy (validated by the policy validator; returns 422 on invalid)."},"execution_preferences":{"type":"object","properties":{"progressive":{"type":"boolean"},"privacy_mode":{"enum":["STANDARD","MINIMAL","HASH_ONLY"],"type":"string"},"include_human_report":{"type":"boolean"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vlnpGo9_Fpk5Wz9On54f0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Progressively consults multiple data sources on a Brazilian company (by CNPJ) and returns a signed, evidence-backed, machine-executable decision for a given business objective at a specified confidence threshold.","exampleAgentPrompt":"Run a supplier onboarding decision on Brazilian company CNPJ 11.222.333/0001-81 — I need at least 85% confidence, my budget is $2 USD, and this is a HIGH criticality transaction with a CONSERVATIVE risk appetite.","exampleUseCases":null,"resultDescription":"A signed, machine-executable decision object containing: approve/reject verdict, confidence score (0–100), list of evidence sources consulted, traceable claims backing the decision, and cost incurred. The decision is calibrated to stop consulting sources once the minimum confidence threshold is reached.","failureModes":["CPF (personal ID) submitted instead of CNPJ — rejected by policy","CNPJ not resolvable or no reachable coverage — use preflight endpoint to check first","Minimum confidence cannot be achieved within the budget constraint — returns partial or inconclusive decision","Invalid CNPJ format — rejected before processing","Jurisdiction other than BR requested — only BR is served","Latency budget exceeded — partial result or timeout"],"whenToPreferThis":"Use this endpoint when you need a final go/no-go decision on a Brazilian company rather than raw data. It is ideal when you want the system to adaptively gather only the minimum evidence needed to reach a confidence threshold, minimising cost and latency. Prefer this over individual lookup endpoints when the objective is one of SUPPLIER_ONBOARDING, VENDOR_PAYMENT_APPROVAL, COUNTERPARTY_RISK_ASSESSMENT, or MERCHANT_SCREENING and you need a signed, auditable result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:42:25.143Z","isFirstParty":false}