{"uid":"cap_aYQlK3wP51tH9wHA6RaAj","slug":"company-decision-oracle-brazil-cnpj-agent-decision-0b295df6","name":"Company Decision Oracle — Brazil CNPJ Agent Decision","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-staging.up.railway.app/v1/agent/decide","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"$id":"cdo.agent.decide.input","type":"object","required":["subject"],"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}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_Ase1W1n1nbKJo9H9lnYU2","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":"Takes a Brazilian CNPJ, objective, budget, and confidence threshold, then progressively consults the minimum necessary sources to return a signed, evidence-backed, machine-executable decision about the company.","exampleAgentPrompt":"Before we wire payment to this Brazilian supplier, run a full due diligence decision on CNPJ 12.345.678/0001-99 — our objective is to confirm they're active and sanction-free, budget is $0.20, and I need at least 90% confidence in the outcome.","exampleUseCases":[{"title":"Vendor onboarding gate for procurement","prompt":"We're about to onboard a new Brazilian supplier with CNPJ 07.526.557/0001-00 — can you run a decision check with the objective 'confirm active and no sanctions', budget $0.15, and stop once you hit 85% confidence?"},{"title":"Pre-payment compliance check","prompt":"Before we release this invoice payment to the Brazilian vendor CNPJ 33.000.167/0001-01, make a go/no-go compliance decision with objective 'safe to pay', budget $0.10, and I need 90% confidence."},{"title":"New customer due diligence","prompt":"We just got an application from a Brazilian company, CNPJ 60.701.190/0001-04 — run a due diligence decision with objective 'confirm legitimacy for customer onboarding', budget $0.20, and require at least 80% confidence before deciding."}],"resultDescription":"A signed, evidence-backed, machine-executable decision (e.g. GO/NO-GO) about the Brazilian company, including the confidence score achieved, the minimum sources consulted, and a traceable evidence trail supporting the decision.","failureModes":["CNPJ not found or unresolvable — preflight check will surface this before payment","Insufficient source coverage to reach confidence threshold — decision returned with partial evidence and lower confidence","Invalid CNPJ format — request rejected with validation error","Budget exhausted before confidence threshold reached — partial decision or inconclusive result returned","Downstream Brazilian data sources unavailable — service returns partial evidence or error"],"whenToPreferThis":"Use this endpoint when you need an automated, signed, evidence-backed go/no-go decision on a Brazilian legal entity and want the system to stop consuming sources as soon as the confidence threshold is met — minimizing cost. Prefer it over raw data lookup endpoints when you need a machine-executable decision rather than raw company data, and when operating in an agentic workflow that requires auditability and provenance of the decision.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:33:41.184Z","isFirstParty":false}