v44

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-192301780.0 KB
Legal

Get full text of legal document

Retrieve the full text content of a legal document. Use after verifying the source with legal.verify(). Returns complete text with optional highlights and AI summary.

post/legal/v1/full-text

Request body

urlstring uri required

URL of the verified legal document

maxCharactersinteger

Maximum characters to return (default: 10000, max: 50000)

highlightQuerystring

Optional query to extract relevant highlights (e.g., "What is the holding?")

summaryQuerystring

Optional query for generating a summary (e.g., "Summarize the key ruling")

Response

Document content retrieved successfully

urlstring

Document URL

titlestring

Document title

publishedDatestring nullable

Publication date

authorstring nullable

Author or court

textstring

Full document text

highlightsstring[]

Highlighted relevant passages

summarystring nullable

AI-generated summary

characterCountinteger

Total characters in text