reports

Get all reports (audits) in a group. Supports pagination, filtering by board, model, version, site, status, auditor, and date fields. Pass boardId=null for org-level view.

post/api/rpc/queryReports

Request

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

Request body

tenantunknown required
boardIdstring nullable required
querystring
modelstring

Operands must be strings. Comma-separated values for OR, semicolon for AND. Use ! to exclude, ^ for exact match, * for any value, !* for empty. Use the facet query to discover valid values.

versionstring

Operands must be strings. Comma-separated values for OR, semicolon for AND. Use ! to exclude, ^ for exact match, * for any value, !* for empty. Use the facet query to discover valid values.

sitestring

Operands must be strings. Comma-separated values for OR, semicolon for AND. Use ! to exclude, ^ for exact match, * for any value, !* for empty. Use the facet query to discover valid values.

statusstring

Valid operands: draft, published. Comma-separated values for OR, semicolon for AND. Use ! to exclude, ^ for exact match, * for any value, !* for empty.

auditorstring

Operands must be user IDs, or @me for the signed-in user, such as "@me" or "!@me". Comma-separated values for OR, semicolon for AND. Use ! to exclude, ^ for exact match, * for any value, !* for empty. Use the facet query to discover valid values.

createdBystring

Operands must be user IDs, or @me for the signed-in user, such as "@me" or "!@me". Comma-separated values for OR, semicolon for AND. Use ! to exclude, ^ for exact match, * for any value, !* for empty. Use the facet query to discover valid values.

publishedstring

ISO dates (2024-01-15), periods (2024, 2024-01), comparisons (>=2024, <2024-06), ranges (2024-01-01..2024-12-31), or relative dates (@today, @today-7d). Units: d, w, m, y. Use * for any date, !* for empty.

datestring

ISO dates (2024-01-15), periods (2024, 2024-01), comparisons (>=2024, <2024-06), ranges (2024-01-01..2024-12-31), or relative dates (@today, @today-7d). Units: d, w, m, y. Use * for any date, !* for empty.

lastModifiedstring

ISO dates (2024-01-15), periods (2024, 2024-01), comparisons (>=2024, <2024-06), ranges (2024-01-01..2024-12-31), or relative dates (@today, @today-7d). Units: d, w, m, y. Use * for any date, !* for empty.

includesstring[]

Only include records whose IDs are in this list.

excludesstring[]

Exclude records whose IDs are in this list.

afterstring

Cursor-based pagination: return results after this cursor. Use pageInfo.endCursor from the previous page.

beforestring

Cursor-based pagination: return results before this cursor. Use pageInfo.startCursor from the current/previous page.

lastinteger

Cursor-based pagination: number of results to return before the before cursor. Use for backward pagination.

sort'model' | 'version' | 'site' | 'status' | 'auditor' | 'createdBy' | 'published' | 'date' | 'lastModified'
direction'asc' | 'desc'

Response

Successful response

Changes

No recorded changes to this operation across all 2 revisions of this API.