Changelog

Notable changes to the CAILegal public API. New endpoint families (Corporate, Litigation, Audit, Contracts) will be announced here as they move from Planned to GA.

Unreleased

Corporate, Litigation, Audit, Contracts, and Status endpoints are GA

Added /v1/corporate/analyze, /v1/litigation/analyze (both support stream: true), /v1/audit/analyze + /v1/audit/tools (16 deterministic tools, never costs credits), /v1/contracts/draft, and the public /v1/status health check. Standardized the {error:{type,message,code}} envelope across every /v1 path, added Idempotency-Key support (24h TTL), real sandbox mode, and a disclaimer field on every response. /v1/chat/completions gained mode (small|medium|deep) and stream support.

Unreleased

Prepaid wallet & budget alerts

Added GET/POST /api/v2/developer/wallet endpoints (balance, Razorpay top-up, monthly budget caps with 80%/100% alerts) and the 402 insufficient_balance error shape. See Billing.

Unreleased

Developer documentation site launched

Published this narrative docs site at /developers/docs, alongside Python (pip install cailegal) and Node (npm install cailegal) SDK skeletons.

Unreleased

Public API v1 launched

Introduced the API-key-authenticated /v1 surface: chat/completions, documents/analyze, and compliance/check.