> ## 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.

# findings

> The tenant's findings, oldest first by default; each node is the report's finding summary plus its audit, statement, category and period. ageDays is as of today in the tenant's time zone. Filter via `query:` search string. Allowed keys: audit, statement, category, state, period, firstFound

The tenant's findings, oldest first by default; each node is the report's finding summary plus its audit, statement, category and period. ageDays is as of today in the tenant's time zone. Filter via `query:` search string. Allowed keys: audit, statement, category, state, period, firstFound

```graphql theme={null}
findings(after: String, first: Int, query: String, reverse: Boolean, sortKey: FindingListItemSortKey): FindingListItemConnection
```

## Arguments

| Argument | Type | Description |
| - | - | - |
| `after` | [`String`](/graphql/scalars/string) | Return findings after this cursor (pageInfo.endCursor). A cursor belongs to its sortKey and reverse. |
| `first` | [`Int`](/graphql/scalars/int) | Return the first n findings, 1 to 100; default 50. |
| `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` | [`FindingListItemSortKey`](/graphql/enums/finding-list-item-sort-key) | The field to sort by. |

## Returns

[`FindingListItemConnection`](/graphql/objects/finding-list-item-connection)

## Example

```graphql Request theme={null}
query OpenReturnsFindings {
  findings(first: 2, query: "category:returns state:open period:2026-10", sortKey: FIRST_FOUND) {
    edges {
      cursor
      node {
        id
        statement
        headline
        state
        firstFound
        ageDays
        records { system recordType id internalId status }
        next
      }
    }
    pageInfo { hasNextPage endCursor }
  }
}
```

```json Response theme={null}
{
  "data": {
    "findings": {
      "edges": [
        {
          "cursor": "WyJGSVJTVF9GT1VORCIsZmFsc2UsIkdPUkpBTkFfUjgiLCIyMDI2LTEwLTA5IiwiRi0yMDc2MSJd",
          "node": {
            "id": "F-20761",
            "statement": "R8",
            "headline": "Return M258615 has no credit memo",
            "state": "open",
            "firstFound": "2026-10-09",
            "ageDays": 12,
            "records": [
              { "system": "OMS", "recordType": "return", "id": "M258615", "internalId": null, "status": "Completed" }
            ],
            "next": "darpan findings show F-20761"
          }
        },
        {
          "cursor": "WyJGSVJTVF9GT1VORCIsZmFsc2UsIkdPUkpBTkFfUjgiLCIyMDI2LTEwLTA5IiwiRi0yMDc2MiJd",
          "node": {
            "id": "F-20762",
            "statement": "R8",
            "headline": "Return M258616 has no credit memo",
            "state": "open",
            "firstFound": "2026-10-09",
            "ageDays": 12,
            "records": [
              { "system": "OMS", "recordType": "return", "id": "M258616", "internalId": null, "status": "Completed" }
            ],
            "next": "darpan findings show F-20762"
          }
        }
      ],
      "pageInfo": { "hasNextPage": true, "endCursor": "WyJGSVJTVF9GT1VORCIsZmFsc2UsIkdPUkpBTkFfUjgiLCIyMDI2LTEwLTA5IiwiRi0yMDc2MiJd" }
    }
  }
}
```


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