Skip to main content

tools.ozone.report.queryReports

#main​

View moderation reports. Reports are individual instances of content being reported, as opposed to subject statuses which aggregate reports at the subject level.

Parameters​

PropertyTypeKnown ValuesRequiredDescription
queueIdinteger-❌Filter by queue ID. Use -1 for unassigned reports.
reportTypesarray-❌-
statusstringopen
closed
escalated
queued
assigned
✅Filter by report status.
subjectstring (uri)-❌Filter by subject DID or AT-URI.
didstring (did)-❌Filter to reports where the subject is this DID or any record owned by this DID. Unlike subject (which scopes to a specific account or record), this returns all reports tied to the DID across both account-level and record-level subjects.
subjectTypestringaccount
record
message
conversation
❌If specified, reports of the given subject type will be returned.
collectionsarray of nsid-❌-
reportedAfterstring (datetime)-❌Retrieve reports created after a given timestamp
reportedBeforestring (datetime)-❌Retrieve reports created before a given timestamp
isMutedboolean-❌Filter by muted status. true returns only muted reports, false returns only unmuted reports. Defaults to false.
assignedTostring (did)-❌Filter by the DID of the moderator permanently assigned to the report.
sortFieldstring-❌-
sortDirectionstring-❌-
limitinteger-❌-
cursorstring-❌-

Output​

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
cursorstring-❌-
reportsarray of tools.ozone.report.defs#reportView-✅-