Overview
Returns a function to fetch content reports (entities and comments) from spaces where the current user has anadmin or moderator role.
If spaceId is provided, returns reports for that specific space (the user must moderate it). If omitted, returns reports aggregated from all spaces the user moderates.
Requires an authenticated user with
admin or moderator role in at least one space.Usage Example
Parameters
Filter reports to a specific space. If omitted, returns reports from all spaces the user moderates.
Returns
ReturnsPromise<PaginatedResponse<Report>>:
Report object
The reported content record (includes the author user object). Populated even if the content was soft-deleted. When
spaceReputation is requested, the embedded author carries an added spaceReputation number. See Reputation.Notes
- Message reports appear in this queue only for conversations attached to a space. DM and group chat reports have no space, so they are project-level and appear only in the Sublay dashboard — see
useCreateReport.

