Corporate
GACorporate/tax/structuring intelligence — 16 tools (tax treaty, Pillar Two, UBO mapping, SPV advisory, and more) behind one dispatch endpoint. Supports streaming.
Internally wraps: POST /api/v2/legal/corporate-intel (tool_type dispatch)
POST
/v1/corporate/analyzeGACorporate / tax / structuring analysis (16 tools)
Thin wrapper over the internal corporate-intel dispatcher. `tool_type` selects one of 16 tools: tax-treaty, pillar-two, anti-bribery, esg-supply-chain, export-controls, ubo-mapper, spv-advisor, jv-governance, insolvency, corp-secretary, franchise-dist, sandbox-nav, banking-lending, banking-compliance, banking-recovery, fintech-licensing, project-finance.
Required scope:
corporate~3 credit(s)/callSDK: corporate.analyze(...)- Set
stream: truefor Server-Sent Events, using the same event framing as/v1/chat/completions. - Runs on the same dedicated
/v1Anthropic capacity pool as chat/documents/compliance.
Request body
{
"tool_type": "tax-treaty",
"jurisdiction": "SG",
"language": "en",
"stream": false
}Response body
{
"id": "req_...",
"tool_type": "tax-treaty",
"jurisdiction": "SG",
"answer": "Under the India-Singapore DTAA, dividend withholding may be reduced to ...",
"tokens_used": 842,
"warnings": [],
"disclaimer": "This response is generated by an AI legal assistant for informational purposes only and does not constitute legal advice. Consult a qualified legal professional before relying on it."
}curl -X POST https://cailegal-backend-production-7edb.up.railway.app/v1/corporate/analyze \
-H "Authorization: Bearer cai_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"tool_type": "tax-treaty",
"jurisdiction": "SG",
"language": "en",
"stream": false
}'