Litigation
GALitigation intelligence — 10 tools (income-tax, GST, family, property, criminal, and more litigation analysis) behind one dispatch endpoint. Supports streaming.
Internally wraps: POST /api/v2/legal/litigation-intel (tool_type dispatch)
POST
/v1/litigation/analyzeGALitigation intelligence analysis (10 tools)
Thin wrapper over the internal litigation-intel dispatcher. `tool_type` selects one of 10 tools: income-tax-lit, gst-lit, family-lit, property-lit, criminal-lit, consumer-lit, writ-petition, commercial-lit, insolvency-lit, ip-lit.
Required scope:
litigation~3 credit(s)/callSDK: litigation.analyze(...)- Set
stream: truefor Server-Sent Events, using the same event framing as/v1/chat/completions.
Request body
{
"tool_type": "income-tax-lit",
"jurisdiction": "IN",
"language": "en",
"stream": false
}Response body
{
"id": "req_...",
"tool_type": "income-tax-lit",
"jurisdiction": "IN",
"answer": "The reassessment notice appears time-barred under the amended Section 149 limitation ...",
"tokens_used": 705,
"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/litigation/analyze \
-H "Authorization: Bearer cai_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"tool_type": "income-tax-lit",
"jurisdiction": "IN",
"language": "en",
"stream": false
}'