Admin API / Queries

moderationReports

Reports about members, listings and chat messages. Requires the ADMIN role or higher. Defaults to createdAt descending; ties sort by ID in the same direction. query matches the description, the note and the reporter's username and name, case-insensitive. first outside 1 to 100 (1 to 10,000 for Soho) or a malformed after gives a thrown VALIDATION_ERROR. Paging stops at offset 1,000 (1,000,000 for Soho): an after at the ceiling gives a thrown PAGE_OUT_OF_RANGE; narrow where or query to reach other rows.

Requires a client key with one of these scopes: admin:moderation:readRequires this member role or higher: ADMIN
moderationReports(
  after: String
  first: Int
  query: String
  sort: ModerationReportSortInput
  where: ModerationReportWhereInput
): ModerationReportConnection!

Arguments

ArgumentTypeDescription
afterStringReturn reports after this cursor. Omit for the first page.
firstIntMaximum number of reports to return. Defaults to 20, capped at 100 (10,000 for Soho).
queryStringText to find in the description, the note and the reporter's username and name. Empty or blank matches every report.
sortModerationReportSortInputSort order. The field description gives the default and the ties.
whereModerationReportWhereInputFilters to narrow the list.

Return type

ModerationReportConnection!