---
title: "POST /api/rpc/queryGrcRecs"
method: POST
path: "/api/rpc/queryGrcRecs"
tags: ["insurance", "grc"]
---

# POST /api/rpc/queryGrcRecs

`POST /api/rpc/queryGrcRecs`

## Request

- Base URL: `https://21risk.com`
- URL: `https://21risk.com/api/rpc/queryGrcRecs`
- Auth: OAuth 2 (client credentials, token URL `/api/v1/oauth/token`)

Query GRC recommendations with optional pagination and sorting. Returns a paginated collection response where each node contains synced GRC recommendation fields such as recGUID, fileNo, status, impact, primaryType, secondaryType, estimates, response fields, and internal sync timestamps.

## Request body

- object
  - `tenant` unknown, required
  - `fileNo` string: Plain text means contains. Use operators: contains, equal, startswith, endswith. Prefix with ! to negate.
  - `includes` string[]: Only include records whose IDs are in this list.
  - `excludes` string[]: Exclude records whose IDs are in this list.
  - `after` string: Cursor-based pagination: return results after this cursor. Use pageInfo.endCursor from the previous page.
  - `before` string: Cursor-based pagination: return results before this cursor. Use pageInfo.startCursor from the current/previous page.
  - `first` union
    - integer
    - 'all'
  - `last` integer: Cursor-based pagination: number of results to return before the before cursor. Use for backward pagination.
  - `sort` 'internalGroupId' | 'internalGrcId' | 'recGUID' | 'fileNo' | 'service' | 'recCode' | 'recYear' | 'recMonth' | 'recNumber' | 'recSubletter' | 'status' | 'primaryType' | 'secondaryType' | 'numberOfDocuments' | 'currency' | 'inspectionPerformedBy' | 'statusDate' | 'impact' | 'keywords' | 'currentLossEstimate' | 'currentLossEstimateRange' | 'completedLossEstimate' | 'completedLossEstimateRange' | 'costToCompleteEstimate' | 'costToCompleteEstimateRange' | 'costToCompleteActual' | 'savingsRatio' | 'intendedAction' | 'responseDate' | 'responseFrom' | 'facilityComment' | 'internalCreatedDate' | 'internalLastSyncDate' | 'expectedCompletionDate' | 'mgmtResponseAction' | 'mgmtResponseDate' | 'mgmtResponseFrom' | 'mgmtResponseComment' | 'thirdLevelResponseAction' | 'thirdLevelResponseDate' | 'thirdLevelResponseFrom' | 'thirdLevelResponseComment'
  - `direction` 'asc' | 'desc'

## Response `200`

Successful response

---

[API](https://skmtc.dev/21risk/apis/21risk-api.md) · [All operations](https://skmtc.dev/21risk/apis/21risk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/21risk/apis/21risk-api/revisions/273a727dfd49?raw)
