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: ADMINmoderationReports(
after: String
first: Int
query: String
sort: ModerationReportSortInput
where: ModerationReportWhereInput
): ModerationReportConnection!Arguments
| Argument | Type | Description |
|---|---|---|
after | String | Return reports after this cursor. Omit for the first page. |
first | Int | Maximum number of reports to return. Defaults to 20, capped at 100 (10,000 for Soho). |
query | String | Text to find in the description, the note and the reporter's username and name. Empty or blank matches every report. |
sort | ModerationReportSortInput | Sort order. The field description gives the default and the ties. |
where | ModerationReportWhereInput | Filters to narrow the list. |