lexera_route_to_specialist tool is Lexera’s primary paid endpoint. It sends a legal document to a professional law firm for human attorney review. Lexera automatically detects the target jurisdiction, queries the global pricing engine, places a temporary hold on your corporate AED wallet at the required tier, and assigns the document to the corresponding law firm queue. Once the attorney completes review, the order status moves to verified_executed and certified artifacts become available.
Parameters
string
required
The raw text of the contract or legal document to be reviewed by a human attorney.
string
required
The governing country (for example,
UAE or Jordan). Lexera automatically resolves regional aliases (such as UAE Federal or DIFC) to the parent country for pricing.string
required
Specific directives for the human attorney (for example, “Cap liability at 100% of contract value”).
JSON-RPC request
The POST returns
HTTP 202 Accepted. The dispatch result is streamed back over the open SSE connection.Response
The response is streamed over SSE inside a JSON-RPC 2.0 envelope.string
Always
"DISPATCH_SUCCESS" when the document is accepted into the queue.string
A UUID that uniquely identifies this dispatch. Use it with
lexera_get_order_status to poll for completion.string
The initial order status. For a successful dispatch, this is
pending_admin_triage.string
The name of the law firm queue that received the document.
number
The AED amount temporarily held on your corporate wallet for this review.
string
Always
"AED".boolean
Always
true for this tool, confirming the document is in a human attorney queue.Next steps
After dispatch, poll the order status withlexera_get_order_status using the returned order_id. When current_status becomes verified_executed, download the certified artifacts via the download guide.