Skip to main content
The lexera_local_statutory_audit tool is Lexera’s public, self-serve entry point. It performs a rapid automated compliance scan of a contract or legal document against the statutory laws of a target jurisdiction. No API key is required, and no AED wallet hold is placed. This tool is designed for the anonymous product-led growth (PLG) funnel, so you can evaluate Lexera’s capabilities before integrating deeper into the human-in-the-loop pipeline.

Parameters

string
required
The raw text of the contract or legal document you want to audit.
string
required
The governing region to check against (for example, UAE or Jordan).

JSON-RPC request

This tool is synchronous. The audit result is streamed back over the open SSE connection as a single JSON-RPC response. There is no order_id returned because the tool does not create a human-in-the-loop dispatch.

Response

The response is streamed over the open SSE connection in a standard JSON-RPC 2.0 envelope. The payload contains the statutory audit findings as text content.
array
An array of content objects. Each object has a type (typically text) and a text field containing the audit results.
string
Always "2.0".
number | string
Mirrors the id from the request.

What happens next

Use the statutory audit to identify high-level compliance gaps before deciding whether to route the document to a human attorney. If the audit flags issues that require professional review, proceed to lexera_route_to_specialist. You can also check the required AED wallet hold for your jurisdiction first with lexera_check_jurisdiction_rates.