Lawsuits represent legal proceedings associated with insurance events. Each event can have at most one lawsuit. The Lawsuits API allows you to create, retrieve, update, and delete lawsuit information for a specific event. Key Concepts:Documentation Index
Fetch the complete documentation index at: https://docs.aiinsurance.io/llms.txt
Use this file to discover all available pages before exploring further.
- A lawsuit is a 1:1 sub-resource of an event — each event has at most one lawsuit
- Lawsuits are accessed via the event path:
/events/{eventId}/lawsuit - There is no list endpoint — use the GET endpoint to retrieve the single lawsuit for an event
- Creating a lawsuit when one already exists returns
409 Conflict - Deleting a lawsuit is a soft delete — the record is preserved but no longer returned by GET
API Endpoints
- Create Lawsuit - Create a lawsuit for an event (409 if one exists)
- Get Lawsuit - Retrieve the lawsuit for an event
- Update Lawsuit - Update the lawsuit for an event
- Delete Lawsuit - Soft delete the lawsuit for an event
Nullable Fields
The following fields may benull in the response:
| Field | When null |
|---|---|
caseNumber | Case number not assigned |
caseName | Case name not provided |
lawsuitFiledDate | Filing date not recorded |
suitServedDate | Service date not recorded |
trialDate | Trial date not scheduled |
venueName | Venue not specified |
venueAddress | Venue address not provided |
judgeName | Judge not assigned |
plaintiffs | No plaintiffs recorded |
plaintiffAttorneyId | No plaintiff attorney assigned |
plaintiffLawFirmId | No plaintiff law firm assigned |
plaintiffAddress | Plaintiff address not provided |
settlementDemand | No settlement demand recorded |
settlementType | Settlement type not set |
arbitrationInvolved | Arbitration status not recorded |
dateDefenseCounselAdded | Defense counsel date not recorded |
expertDefense | No defense expert assigned |
expertPlaintiff | No plaintiff expert assigned |
declaratoryJudgementFiledDate | No declaratory judgement filed |
createdAt | Timestamp not tracked (legacy records) |
updatedAt | Lawsuit has never been updated |
Permissions
Access to lawsuits requires the appropriate permissions based on your API key:| Operation | Required Permission |
|---|---|
| Create Lawsuit | company.event:export |
| Get Lawsuit | company.event:export |
| Update Lawsuit | company.event:export |
| Delete Lawsuit | company.event:export |
