Skip to main content
GET
/
api
/
external
/
companies
/
{companyId}
/
submissions
/
{submissionId}
/
loss-history
Get Submission Loss History
curl --request GET \
  --url https://app.aiinsurance.io/api/external/companies/{companyId}/submissions/{submissionId}/loss-history \
  --header 'Authorization: <api-key>'
{
  "items": [
    {
      "year": 2022,
      "data": {
        "company": "Acme Insurance Co",
        "policyNumber": "POL-2022-001",
        "policyPremium": 10000,
        "totalIncurred": 10000,
        "indemnityPaid": 5000,
        "expensesPaid": 2000,
        "totalReserves": 3000,
        "claimDescription": "Slip and fall at insured premises",
        "reportDate": "2022-06-20T00:00:00.000Z"
      }
    }
  ],
  "totalCount": 1
}

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.

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header.

Path Parameters

companyId
string<uuid>
required

Company identifier

submissionId
string<uuid>
required

Submission identifier

Response

Loss history for the submission.

items
object[]
required

Loss history entries. Empty array if no loss history has been set.

totalCount
integer
required

Total number of loss history entries.