POST
/
api
/
v1
/
submission
/
general-liability
All General Liability Documents
curl --request POST \
  --url https://api.ferofill.com/api/v1/submission/general-liability \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "files": [
    null
  ]
}'
{
  "data": [
    {
      "template_confidence": 97,
      "template": "acord_126_gl_2023",
      "processing_time": "2.1s",
      "start_page": 1,
      "end_page": 3,
      "extracted_fields": [
        {
          "field_name": "applicant_name",
          "value": "Premier Construction Services LLC",
          "confidence": 99,
          "location": {"page": 1, "x": 0.15, "y": 0.12, "width": 0.35, "height": 0.02},
          "data_type": "text"
        },
        {
          "field_name": "annual_revenue",
          "value": "2500000",
          "confidence": 96,
          "location": {"page": 1, "x": 0.6, "y": 0.35, "width": 0.12, "height": 0.02},
          "data_type": "currency"
        }
      ],
      "tables": [
        {
          "table_id": "operations_schedule",
          "title": "Schedule of Operations",
          "confidence": 94,
          "location": {"page": 2, "x": 0.05, "y": 0.15, "width": 0.9, "height": 0.6},
          "structure": {
            "headers": ["Operation", "Revenue", "Percentage", "Location", "Description"],
            "rows": [
              {
                "row_index": 0,
                "cells": [
                  {"column": "Operation", "value": "Commercial Construction"},
                  {"column": "Revenue", "value": "1800000"},
                  {"column": "Percentage", "value": "72%"},
                  {"column": "Location", "value": "Texas, Oklahoma"},
                  {"column": "Description", "value": "Office buildings, retail centers"}
                ]
              }
            ]
          }
        }
      ]
    }
  ],
  "error": null
}
Processing time may vary based on document complexity. For faster processing when you know the specific document type, use the template-specific endpoints.

Request

files
file[]
required
Upload one or more general liability documents for extraction. Supported file formats: pdf, jpeg, png, xlsx, docx, pptx, csv, and txt.

Response

data
array
required
Array of extracted document data objects
{
  "data": [
    {
      "template_confidence": 97,
      "template": "acord_126_gl_2023",
      "processing_time": "2.1s",
      "start_page": 1,
      "end_page": 3,
      "extracted_fields": [
        {
          "field_name": "applicant_name",
          "value": "Premier Construction Services LLC",
          "confidence": 99,
          "location": {"page": 1, "x": 0.15, "y": 0.12, "width": 0.35, "height": 0.02},
          "data_type": "text"
        },
        {
          "field_name": "annual_revenue",
          "value": "2500000",
          "confidence": 96,
          "location": {"page": 1, "x": 0.6, "y": 0.35, "width": 0.12, "height": 0.02},
          "data_type": "currency"
        }
      ],
      "tables": [
        {
          "table_id": "operations_schedule",
          "title": "Schedule of Operations",
          "confidence": 94,
          "location": {"page": 2, "x": 0.05, "y": 0.15, "width": 0.9, "height": 0.6},
          "structure": {
            "headers": ["Operation", "Revenue", "Percentage", "Location", "Description"],
            "rows": [
              {
                "row_index": 0,
                "cells": [
                  {"column": "Operation", "value": "Commercial Construction"},
                  {"column": "Revenue", "value": "1800000"},
                  {"column": "Percentage", "value": "72%"},
                  {"column": "Location", "value": "Texas, Oklahoma"},
                  {"column": "Description", "value": "Office buildings, retail centers"}
                ]
              }
            ]
          }
        }
      ]
    }
  ],
  "error": null
}