> ## Documentation Index
> Fetch the complete documentation index at: https://docs.drpn.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# reconciliationResults

> Reconciliation run results, newest or oldest first. Filter via `query:` search string. Allowed keys: savedRunId, reconciliationRunId, ruleSetId, statusEnumId

Reconciliation run results, newest or oldest first. Filter via `query:` search string. Allowed keys: savedRunId, reconciliationRunId, ruleSetId, statusEnumId

```graphql theme={null}
reconciliationResults(after: String, before: String, first: Int, last: Int, query: String, reverse: Boolean, sortKey: ReconciliationResultSortKey): ReconciliationResultConnection
```

## Arguments

| Argument | Type | Description |
| - | - | - |
| `after` | [`String`](/graphql/scalars/string) | Return records after this cursor. |
| `before` | [`String`](/graphql/scalars/string) | Return records before this cursor. |
| `first` | [`Int`](/graphql/scalars/int) | Return the first n records (required unless last is given). |
| `last` | [`Int`](/graphql/scalars/int) | Return the last n records. |
| `query` | [`String`](/graphql/scalars/string) | A search string of key:value terms; see the field description for the keys. |
| `reverse` | [`Boolean`](/graphql/scalars/boolean) | Reverse the sort order. |
| `sortKey` | [`ReconciliationResultSortKey`](/graphql/enums/reconciliation-result-sort-key) | The field to sort by. |

## Returns

[`ReconciliationResultConnection`](/graphql/objects/reconciliation-result-connection)

## Example

```graphql Request theme={null}
query RecentRuns {
  reconciliationResults(first: 2, sortKey: CREATED_DATE, reverse: true, query: "statusEnumId:AUT_STAT_SUCCESS") {
    edges {
      cursor
      node { reconciliationRunResultId savedRunId differenceCount onlyInFile1Count onlyInFile2Count createdDate }
    }
    pageInfo { hasNextPage endCursor }
  }
}
```

```json Response theme={null}
{
  "data": {
    "reconciliationResults": {
      "edges": [
        {
          "cursor": "eyJpZCI6IjEwMDQ1In0",
          "node": {
            "reconciliationRunResultId": "10045",
            "savedRunId": "ORDERS_OMS_NS",
            "differenceCount": 3,
            "onlyInFile1Count": 2,
            "onlyInFile2Count": 1,
            "createdDate": "2026-10-08T13:05:41Z"
          }
        }
      ],
      "pageInfo": { "hasNextPage": true, "endCursor": "eyJpZCI6IjEwMDQ1In0" }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.