Skip to main content
POST
Legal Insights
This endpoint consumes 4 AI credits per call because it uses larger reasoning models tuned for legal text. If the workspace balance is insufficient, the API returns 402 insufficient_credits.

Request

Headers

string
Optional UUID. Deduplicates retries within 24 hours.

Body Parameters

string
UUID of a matter to analyze. Provide either matter_id or deal_id.
string
UUID of a deal to analyze.
array
Optional subset of insight types: risks, precedents, next_steps, deadlines, counterparty, regulatory. Defaults to all.
string
Optional ISO 3166-1 alpha-2 country code (or EU subdivision) used to scope precedent suggestions. Defaults to the workspace’s default jurisdiction.

Response

object
Responses include X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-Request-ID. Precedent citations are intended as a research starting point and should be independently verified before being relied upon in client work.

Example Response

Errors