Sensible

App · 19 actions

Extract structured data from PDFs and other documents with your Sensible document types and get the results in your workflows.

Actions

ActionWhat it does
Create document typeCreate a document type to hold configurations for one kind of document.
Delete document typeDelete a document type with its configurations and reference documents.
Extract from document URLStart extracting data from a document at a public link, using the best configuration in a document type.
Extract from document URL with configurationStart extracting data from a document at a public link, using a configuration you choose.
Extract portfolio from URLStart splitting a file that bundles several documents into its parts and extracting each one.
Get configurationGet a configuration's SenseML and its versions.
Get CSV file of extractionGet a link to a CSV file of an extraction's data.
Get document typeGet one document type and its settings.
Get email processorGet one email processor.
Get Excel file of extractionGet a link to an Excel spreadsheet of an extraction's data.
Get extractionGet an extraction's status and, once complete, the data Sensible extracted.
Get extraction statisticsGet each configuration's daily extraction coverage over a period.
List configuration versionsList a configuration's saved and published versions.
List configurationsList the configurations in a document type.
List document typesList the document types in your Sensible account.
List email processorsList the email processors that extract data from emails sent to Sensible.
List extractionsList past extractions, newest first, filtered as you choose.
List reference documentsList the reference documents in a document type.
Update document typeRename a document type or change its settings.

Create document type

Create a document type to hold configurations for one kind of document.

Inputs

NamenametextRequired
A name of 3 to 128 lowercase letters, numbers and underscores, such as insurance_quote.
Descriptiondescriptiontext
What kind of documents it is for.
OCR engineocr_enginetext
Which engine reads text in scanned documents.One of: amazon, microsoft, google.
Configuration matchingfingerprint_modetext
How Sensible picks a configuration for a document.One of: fallback_to_all (Try every configuration if none matches), strict (Only configurations whose fingerprints match).

Outputs

dataobject
The document type.
Example output
{
  "data": {
    "created": "2026-11-20T14:03:12.000Z",
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "insurance_quote",
    "schema": {
      "description": "Auto insurance quotes",
      "fingerprint_mode": "fallback_to_all",
      "ocr_engine": "amazon"
    }
  }
}

Delete document type

Delete a document type with its configurations and reference documents. Past extractions stay.

Inputs

Document typetype_idtextRequired
The document type. Pick one, or use an ID from List document types.

Outputs

dataobject
Sensible's answer, empty when it worked.
Example output
{
  "data": {}
}

Extract from document URL

Start extracting data from a document at a public link, using the best configuration in a document type.

Inputs

Document typedocument_typetextRequired
The document type to extract with. Pick one, or enter its name, such as insurance_quote.
Document URLdocument_urltextRequired
A public link that downloads the document.
File typecontent_typetext
The document's file type. Sensible recommends giving it.One of: application/pdf (PDF), image/jpeg (JPEG image), image/png (PNG image), image/tiff (TIFF image), application/msword (Word (.doc)), application/vnd.openxmlformats-officedocument.wordprocessingml.document (Word (.docx)), application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (Excel (.xlsx)), application/vnd.ms-excel (Excel (.xls)).
Environmentenvironmenttext
Which published configurations to prefer. Production if left empty.One of: production, development.
File namedocument_nametext
A file name to show with the extraction.
Webhook URLwebhook_urltext
A URL Sensible should post the results to when the extraction finishes.

Outputs

dataobject
The extraction that was started.
Example output
{
  "data": {
    "created": "2026-11-20T14:03:12.000Z",
    "document_name": "quote.pdf",
    "environment": "production",
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "status": "WAITING",
    "type": "insurance_quote"
  }
}

Extract from document URL with configuration

Start extracting data from a document at a public link, using a configuration you choose.

Inputs

Document typedocument_typetextRequired
The document type to extract with. Pick one, or enter its name, such as insurance_quote.
Configurationconfig_nametextRequired
The configuration's name, from List configurations.
Document URLdocument_urltextRequired
A public link that downloads the document.
File typecontent_typetext
The document's file type. Sensible recommends giving it.One of: application/pdf (PDF), image/jpeg (JPEG image), image/png (PNG image), image/tiff (TIFF image), application/msword (Word (.doc)), application/vnd.openxmlformats-officedocument.wordprocessingml.document (Word (.docx)), application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (Excel (.xlsx)), application/vnd.ms-excel (Excel (.xls)).
Environmentenvironmenttext
Which published configurations to prefer. Production if left empty.One of: production, development.
File namedocument_nametext
A file name to show with the extraction.
Webhook URLwebhook_urltext
A URL Sensible should post the results to when the extraction finishes.

Outputs

dataobject
The extraction that was started.
Example output
{
  "data": {
    "created": "2026-11-20T14:03:12.000Z",
    "document_name": "quote.pdf",
    "environment": "production",
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "status": "WAITING",
    "type": "insurance_quote"
  }
}

Extract portfolio from URL

Start splitting a file that bundles several documents into its parts and extracting each one.

Inputs

Document URLdocument_urltextRequired
A public link that downloads the file.
Document typestypeslistRequired
The names of the document types the file may contain.
File typecontent_typetext
The file's type.One of: application/pdf (PDF), image/jpeg (JPEG image), image/png (PNG image), image/tiff (TIFF image), application/msword (Word (.doc)), application/vnd.openxmlformats-officedocument.wordprocessingml.document (Word (.docx)), application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (Excel (.xlsx)), application/vnd.ms-excel (Excel (.xls)).
Split bysegment_documents_withtext
How Sensible finds where each document starts.One of: llm (AI), fingerprints (Configuration fingerprints).
Environmentenvironmenttext
Which published configurations to prefer. Production if left empty.One of: production, development.
File namedocument_nametext
A file name to show with the extraction.
Webhook URLwebhook_urltext
A URL Sensible should post the results to when the extraction finishes.

Outputs

dataobject
The extraction that was started.
Example output
{
  "data": {
    "created": "2026-11-20T14:03:12.000Z",
    "environment": "production",
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "segment_documents_with": "llm",
    "status": "WAITING",
    "types": [
      "insurance_quote"
    ]
  }
}

Get configuration

Get a configuration's SenseML and its versions.

Inputs

Document typetype_idtextRequired
The document type. Pick one, or use an ID from List document types.
Configurationconfig_nametextRequired
The configuration's name, from List configurations.

Outputs

dataobject
The configuration.
Example output
{
  "data": {
    "configuration": "anyco",
    "content_type": "application/pdf",
    "created": "2026-11-20T14:03:12.000Z",
    "name": "insurance_quote",
    "version_id": "Xk3Pq1Zr8yT2",
    "versions": [
      {
        "datetime": "2026-11-20T14:03:12.000Z",
        "draft": false,
        "environments": [
          "production"
        ],
        "note": "First published version",
        "published_by": "Jane Doe",
        "version_id": "Xk3Pq1Zr8yT2"
      }
    ]
  }
}

Get CSV file of extraction

Get a link to a CSV file of an extraction's data.

Inputs

Extractionextraction_idtextRequired
The extraction's ID.

Outputs

dataobject
The download link.
Example output
{
  "data": {
    "url": "https://sensible-so-utility-bucket.s3.amazonaws.com/example.xlsx"
  }
}

Get document type

Get one document type and its settings.

Inputs

Document typetype_idtextRequired
The document type. Pick one, or use an ID from List document types.

Outputs

dataobject
The document type.
Example output
{
  "data": {
    "created": "2026-11-20T14:03:12.000Z",
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "insurance_quote",
    "schema": {
      "description": "Auto insurance quotes",
      "fingerprint_mode": "fallback_to_all",
      "ocr_engine": "amazon"
    }
  }
}

Get email processor

Get one email processor.

Inputs

Email processorprocessortextRequired
The processor's name. Pick one, or enter it.

Outputs

dataobject
The email processor.
Example output
{
  "data": {
    "bodySpec": {
      "docTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "kind": "doctype"
    },
    "created": "2026-11-20T14:03:12.000Z",
    "name": "insurance_quote"
  }
}

Get Excel file of extraction

Get a link to an Excel spreadsheet of an extraction's data.

Inputs

Extractionextraction_idtextRequired
The extraction's ID.

Outputs

dataobject
The download link.
Example output
{
  "data": {
    "url": "https://sensible-so-utility-bucket.s3.amazonaws.com/example.xlsx"
  }
}

Get extraction

Get an extraction's status and, once complete, the data Sensible extracted.

Inputs

Extractionextraction_idtextRequired
The extraction's ID, from an extract step or List extractions.

Outputs

dataobject
The extraction.
Example output
{
  "data": {
    "charged": 1,
    "completed": "2026-11-20T14:03:20.000Z",
    "configuration": "anyco",
    "configuration_version": "Xk3Pq1Zr8yT2",
    "content_type": "application/pdf",
    "coverage": 0.92,
    "created": "2026-11-20T14:03:12.000Z",
    "document_name": "quote.pdf",
    "download_url": "https://sensible-so-utility-bucket.s3.amazonaws.com/example.pdf",
    "environment": "production",
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "page_count": 2,
    "parsed_document": {},
    "reviewStatus": "APPROVED",
    "status": "COMPLETE",
    "type": "insurance_quote",
    "validation_summary": {
      "errors": 0,
      "fields": 10,
      "fields_present": 9,
      "skipped": 0,
      "warnings": 1
    }
  }
}

Get extraction statistics

Get each configuration's daily extraction coverage over a period.

Inputs

Fromstart_datedate and timeRequired
The first day to report. The time of day is ignored.
Toend_datedate and timeRequired
The last day to report. The time of day is ignored.
Environmentsenvironmentslist
Only these environments. All if left empty.One or more of: production, development.

Outputs

dataobject
The statistics.
Example output
{
  "data": {
    "statistics": [
      {
        "configuration_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "configuration_name": "anyco",
        "coverage_histogram": [
          0,
          0,
          1,
          4
        ],
        "date": "2026-11-20",
        "document_type_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "document_type_name": "insurance_quote",
        "environment": "production"
      }
    ]
  }
}

List configuration versions

List a configuration's saved and published versions.

Inputs

Document typetype_idtextRequired
The document type. Pick one, or use an ID from List document types.
Configurationconfig_nametextRequired
The configuration's name, from List configurations.

Outputs

dataobject
The versions.
Example output
{
  "data": {
    "versions": [
      {
        "datetime": "2026-11-20T14:03:12.000Z",
        "draft": false,
        "environments": [
          "production"
        ],
        "note": "First published version",
        "published_by": "Jane Doe",
        "version_id": "Xk3Pq1Zr8yT2"
      }
    ]
  }
}

List configurations

List the configurations in a document type.

Inputs

Document typetype_idtextRequired
The document type. Pick one, or use an ID from List document types.

Outputs

datalist
The configurations.
Example output
{
  "data": [
    {
      "created": "2026-11-20T14:03:12.000Z",
      "name": "insurance_quote",
      "versions": [
        {
          "datetime": "2026-11-20T14:03:12.000Z",
          "draft": false,
          "environments": [
            "production"
          ],
          "note": "First published version",
          "published_by": "Jane Doe",
          "version_id": "Xk3Pq1Zr8yT2"
        }
      ]
    }
  ]
}

List document types

List the document types in your Sensible account.

Inputs

None.

Outputs

datalist
The document types.
Example output
{
  "data": [
    {
      "created": "2026-11-20T14:03:12.000Z",
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "name": "insurance_quote",
      "schema": {
        "description": "Auto insurance quotes",
        "fingerprint_mode": "fallback_to_all",
        "ocr_engine": "amazon"
      }
    }
  ]
}

List email processors

List the email processors that extract data from emails sent to Sensible.

Inputs

None.

Outputs

datalist
The email processors.
Example output
{
  "data": [
    {
      "bodySpec": {
        "docTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "kind": "doctype"
      },
      "created": "2026-11-20T14:03:12.000Z",
      "name": "insurance_quote"
    }
  ]
}

List extractions

List past extractions, newest first, filtered as you choose.

Inputs

Created on or afterstart_datedate and time
Only extractions created at or after this time.
Created on or beforeend_datedate and time
Only extractions created at or before this time.
Document typesdocument_type_idslist
Only extractions of these document type IDs.
Statusesstatuseslist
Only extractions with these statuses.One or more of: WAITING, PROCESSING, COMPLETE, FAILED.
Environmentsenvironmentslist
Only extractions in these environments.One or more of: production, development.
Review statusesreview_statuseslist
Only extractions with these review statuses.One or more of: APPROVED, NEEDS_REVIEW (Needs review), REJECTED.
Minimum coveragemin_coveragenumber
Only extractions with at least this coverage score, from 0 to 1.
Maximum coveragemax_coveragenumber
Only extractions with at most this coverage score, from 0 to 1.
Limitlimitnumber
How many to return on a page. Sensible returns 20 if left empty.At least 1.
Next pagecontinuation_tokentext
The next-page token from an earlier List extractions.

Outputs

dataobject
One page of extractions.
Example output
{
  "data": {
    "continuation_token": "eyJpZCI6IjNmYTg1ZjY0In0",
    "extractions": [
      {
        "charged": 1,
        "completed": "2026-11-20T14:03:20.000Z",
        "configuration": "anyco",
        "coverage": 0.92,
        "created": "2026-11-20T14:03:12.000Z",
        "document_name": "quote.pdf",
        "environment": "production",
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "page_count": 2,
        "reviewStatus": "APPROVED",
        "status": "COMPLETE",
        "type": "insurance_quote"
      }
    ]
  }
}

List reference documents

List the reference documents in a document type.

Inputs

Document typetype_idtextRequired
The document type. Pick one, or use an ID from List document types.

Outputs

datalist
The reference documents.
Example output
{
  "data": [
    {
      "configuration": "anyco",
      "created": "2026-11-20T14:03:12.000Z",
      "download_url": "https://sensible-so-utility-bucket.s3.amazonaws.com/example.pdf",
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "name": "insurance_quote",
      "thumbnail_url": "https://sensible-so-utility-bucket.s3.amazonaws.com/thumb.png"
    }
  ]
}

Update document type

Rename a document type or change its settings.

Inputs

Document typetype_idtextRequired
The document type. Pick one, or use an ID from List document types.
Namenametext
A new name of lowercase letters, numbers and underscores.
Descriptiondescriptiontext
What kind of documents it is for.
OCR engineocr_enginetext
Which engine reads text in scanned documents.One of: amazon, microsoft, google.
Configuration matchingfingerprint_modetext
How Sensible picks a configuration for a document.One of: fallback_to_all (Try every configuration if none matches), strict (Only configurations whose fingerprints match).

Outputs

dataobject
The document type.
Example output
{
  "data": {
    "created": "2026-11-20T14:03:12.000Z",
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "insurance_quote",
    "schema": {
      "description": "Auto insurance quotes",
      "fingerprint_mode": "fallback_to_all",
      "ocr_engine": "amazon"
    }
  }
}

On this page