Verbosity

Configures the verbosity of the extraction.

Parameters

Possible ValuesDescription
0default
1add lines array to field output with text, page, and boundingPoly metadata
3add full entities metadata (anchor, lines, points, regions) plus standardized text. If the standardized text output causes the extraction response to exceed 6MB, as can be the case with large documents, then Sensible returns a 413 error.

Examples

If you add "verbosity": 1, as a sibling to the fields array in the Table example, you get the following output:

{
  "agile_risks_table_updates_monthly": {
    "columns": [
      {
        "id": "col1_risk_description",
        "values": [
          {
            "value": "Poor task point estimation",
            "type": "string",
            "lines": [
              {
                "text": "Poor task point estimation",
                "boundingPolygon": [
                  {
                    "x": 0.992,
                    "y": 2.972
                  },
                  {
                    "x": 2.354,
                    "y": 2.972
                  },
                  {
                    "x": 2.354,
                    "y": 3.882
                  },
                  {
                    "x": 0.992,
                    "y": 3.882
                  }
                ],
                "page": 0
              }
            ]
          },
          {
            "value": "Poor epic scope definition",
            "type": "string",
            "lines": [
              {
                "text": "Poor epic scope definition",
                "boundingPolygon": [
                  {
                    "x": 0.992,
                    "y": 3.882
                  },
                  {
                    "x": 2.354,
                    "y": 3.882
                  },
                  {
                    "x": 2.354,
                    "y": 4.799
                  },
                  {
                    "x": 0.992,
                    "y": 4.799
                  }
                ],
                "page": 0
              }
            ]
          },
          {
            "value": "Inadequate scrum master training",
            "type": "string",
            "lines": [
              {
                "text": "Inadequate scrum master training",
                "boundingPolygon": [
                  {
                    "x": 0.992,
                    "y": 4.799
                  },
                  {
                    "x": 2.354,
                    "y": 4.799
                  },
                  {
                    "x": 2.354,
                    "y": 5.964
                  },
                  {
                    "x": 0.992,
                    "y": 5.964
                  }
                ],
                "page": 0
              }
            ]
          }
        ]
      },
      {
        "id": "rank_this_month",
        "values": [
          {
            "source": "3",
            "value": 3,
            "type": "number",
            "lines": [
              {
                "text": "3",
                "boundingPolygon": [
                  {
                    "x": 6.625,
                    "y": 2.972
                  },
                  {
                    "x": 8.036,
                    "y": 2.972
                  },
                  {
                    "x": 8.036,
                    "y": 3.882
                  },
                  {
                    "x": 6.625,
                    "y": 3.882
                  }
                ],
                "page": 0
              }
            ]
          },
          {
            "source": "1",
            "value": 1,
            "type": "number",
            "lines": [
              {
                "text": "1",
                "boundingPolygon": [
                  {
                    "x": 6.625,
                    "y": 3.882
                  },
                  {
                    "x": 8.036,
                    "y": 3.882
                  },
                  {
                    "x": 8.036,
                    "y": 4.799
                  },
                  {
                    "x": 6.625,
                    "y": 4.799
                  }
                ],
                "page": 0
              }
            ]
          },
          {
            "source": "2",
            "value": 2,
            "type": "number",
            "lines": [
              {
                "text": "2",
                "boundingPolygon": [
                  {
                    "x": 6.625,
                    "y": 4.799
                  },
                  {
                    "x": 8.036,
                    "y": 4.799
                  },
                  {
                    "x": 8.036,
                    "y": 5.964
                  },
                  {
                    "x": 6.625,
                    "y": 5.964
                  }
                ],
                "page": 0
              }
            ]
          }
        ]
      }
    ]
  }
}

Did this page help you?