QueryReportsQueryParams

constructor(queueId: Long? = null, reportTypes: List<String>? = null, status: QueryReportsStatus, subject: Uri? = null, did: Did? = null, subjectType: QueryReportsSubjectType? = null, collections: List<Nsid>? = null, reportedAfter: Timestamp? = null, reportedBefore: Timestamp? = null, isMuted: Boolean? = false, assignedTo: Did? = null, sortField: String? = "createdAt", sortDirection: String? = "desc", limit: Long? = 50, cursor: String? = null)

Parameters

queueId

Filter by queue ID. Use -1 for unassigned reports.

reportTypes

Filter by report types (fully qualified string in the format of com.atproto.moderation.defs#reason).

status

Filter by report status.

subject

Filter by subject DID or AT-URI.

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.

subjectType

If specified, reports of the given type (account or record) will be returned.

collections

If specified, reports where the subject belongs to the given collections will be returned. When subjectType is set to 'account', this will be ignored.

reportedAfter

Retrieve reports created after a given timestamp

reportedBefore

Retrieve reports created before a given timestamp

isMuted

Filter by muted status. true returns only muted reports, false returns only unmuted reports. Defaults to false.

assignedTo

Filter by the DID of the moderator permanently assigned to the report.