Unify and manage your data

Get Autopilot match statistics

Learn how to retrieve Autopilot match statistics for a tenant with filtering and pagination options.

The Get Autopilot match statistics API retrieves match statistics generated by Autopilot for a tenant. It returns information about unmapped values, candidate matches, scoring metrics, and mapping status.

You can filter results by status, source system, lookup type, or a filter expression. You can also sort and paginate results to analyze matching behavior and evaluate Autopilot performance.

Note: Autopilot does not re-evaluate terminal statuses such as AUTOMAPPED, MANUALLY_MAPPED, or LOOKUP_CREATED, similar to REJECTED and MISSPELLED. To re-evaluate a value, delete the statistics. Deleting a stat does not remove any existing mapping or lookup—you must remove those separately.

HTTP method and endpoint

Use the following HTTP method and endpoint path to submit the request:

GET /configuration/{tenantId}/autopilot/stats?status={status}&source={source}&lookupType={lookupType}&filter={filter}&sort={sort}&order={order}&offset={offset}&limit={limit}

This endpoint retrieves Autopilot match statistics for the specified tenant with optional filtering, sorting, and pagination.

The following table describes the endpoint path parameters.

ParameterTypeRequiredDescription
tenantIdStringYesTenant identifier.

Query parameters

The following table describes the query parameters.

ParameterTypeRequiredDescriptionAccepted values / Default
statusStringNoFilters by status, for example TRACKING or AUTOMAPPED
sourceStringNoFilters by source system name
lookupTypeStringNoFilters by lookup type name
filterStringNoFilter expression. When provided, the search uses the filter engine
sortStringNoSort field name
orderStringNoSort orderasc or desc
offsetIntegerNoStarting offset for paginationDefault: 0
limitIntegerNoMaximum number of results to returnDefault: 20, max: 100

Request headers

The following request headers must be included.

HeaderValueRequired
AuthorizationBearer {token}Yes

Request body

This operation does not require a request body.

Response body

The following table describes the fields returned in the response body.

FieldTypeDescription
tenantIdStringIdentifies the tenant.
lookupTypeStringIdentifies the lookup type associated with the match statistic.
sourceStringIdentifies the source system that provided the value.
unmappedValueStringStores the original value that Autopilot has not mapped.
candidateLookupCodeStringStores the lookup code suggested as the best candidate match.
candidateValueStringStores the lookup value suggested as the best candidate match.
semanticScoreNumberStores the semantic similarity score for the candidate match.
aiConfidenceNumberStores the confidence score produced by the AI evaluation.
centroidMatchBooleanIndicates whether centroid-based matching contributed to the match result.
currentFrequencyIntegerStores the current number of times the unmapped value has occurred.
requiredFrequencyIntegerStores the minimum number of occurrences required before Autopilot can take action.
frequencyAtMappingIntegerStores the occurrence count recorded when the value was mapped.
frequencyWindowHoursIntegerStores the frequency evaluation window in hours.
statusStringStores the current status value for the record.
mappedAtNumberStores the timestamp when the value was mapped, in epoch milliseconds.
mappedByStringIdentifies the user or system that mapped the value.
createdAtNumberStores the creation time of the statistic record, in epoch milliseconds.
configVersionIntegerStores the Autopilot configuration version used for the record.
updateDateNumberStores the last update time of the record, in epoch milliseconds.

Example response

The following example shows a response containing match statistics.

[
  {
    "tenantId": "my_tenant",
    "lookupType": "Country",
    "source": "CRM_SYSTEM",
    "unmappedValue": "United Staets",
    "candidateLookupCode": "US",
    "candidateValue": "United States",
    "semanticScore": 0.92,
    "aiConfidence": 0.95,
    "centroidMatch": true,
    "currentFrequency": 5,
    "requiredFrequency": 3,
    "frequencyAtMapping": 0,
    "frequencyWindowHours": 24,
    "status": "TRACKING",
    "mappedAt": null,
    "mappedBy": null,
    "createdAt": 1704067200000,
    "configVersion": 3,
    "updateDate": 1704153600000
  }
]