Skip to main content
POST

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Body

application/json

URL and retrieval options

url
string<uri>
required

URL of the verified legal document

maxCharacters
integer
default:10000

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

Required range: 1000 <= x <= 50000
highlightQuery
string

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

summaryQuery
string

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

Response

Document content retrieved successfully

url
string

Document URL

title
string

Document title

publishedDate
string | null

Publication date

author
string | null

Author or court

text
string

Full document text

highlights
string[]

Highlighted relevant passages

summary
string | null

AI-generated summary

characterCount
integer

Total characters in text