GET
/
extractions
/
statistics
curl --request GET \
  --url https://api.sensible.so/v0/extractions/statistics \
  --header 'Authorization: Bearer <token>'
{
  "statistics": [
    {
      "date": "2023-12-25",
      "configuration_id": "24d82783-c12b-4e70-b0ae-ca1ce35a98",
      "configuration_name": "config_for_x_company",
      "document_type_id": "11c82772-a12c-1e71-c0a1-1f1ce35bc7",
      "document_type_name": "auto_insurance_quotes_all_carriers",
      "coverage_histogram": [
        1,
        3,
        5,
        4,
        6,
        5,
        3,
        7,
        8,
        2,
        4,
        9
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Sensible uses API keys to authenticate requests. Keep your API keys secure and do not share them publicly accessible areas such as GitHub, client-side code, etc. Authentication to the API is performed via Bearer Authentication. Provide your API key as the bearer auth value.

Query Parameters

start_date
string
required

Retrieves statistics for configs used in production on this day and later. Sensible returns daily statistics, so if you specify a time in addition to a date, Sensible ignores the time.

end_date
string
required

Retrieves daily statistics for configs used in production on this day and earlier.

Response

200
application/json
Returns daily statistics for configs in the specified time period.
statistics
object[]