Skip to main content
GET
Aggregated lawsuit stats by party document

Authorizations

Authorization
string
header
required

OAuth2 Authorization Code flow

Query Parameters

expand
string

Comma-separated fields to expand. Supports selection with brackets (e.g., "createdBy,updatedBy" or "targets.company[icon,tradeName]").

Example:

"createdBy"

page_size
number
default:20

Number of items to return per page

Required range: 1 <= x <= 100
Example:

100

start_cursor
string

Opaque cursor for pagination. Use the next_cursor from previous response.

Example:

"eyJjcmVhdGVkX3RpbWUiOiIyMDI0LTExLTE1VDEwOjAwOjAwLjAwMFoiLCJpZCI6InBhZ2VfYWJjMTIzIn0="

filter
string
required

Required exact filter. Supported field: parties.document.

Example:

"parties.document:\"61969404000182\""

Response

Aggregated stats payload

entityType
enum<string>
required
Available options:
company,
person
document
string
required
total
number
required

Total lawsuits matching the requested document.

statusDistribution
object
required
topSubjects
object[]
required
states
object[]
required
byYear
object[]
required
totalValue
number | null

Sum of every materialized cause value across all matching lawsuits.