tools.ozone.moderation.queryStatuses

View moderation statuses of subjects (record or repo).

Details · query
Kindquery
Authoritymoderation.ozone.tools
Indexed

Query

query · GET

Parameters

query string

If specified, only subjects with the given age assurance state will be returned.

  • knownValues: pending | assured | unknown | reset | blocked

appealed

boolean

Get subjects in unresolved appealed status

If specified, subjects belonging to the given collections will be returned. When subjectType is set to 'account', this will be ignored.

  • maxLength: 20
itemsstring · nsid

comment

string

Search subjects by keyword from comments

cursor

string
itemsstring

hostingDeletedAfter

string · datetime

Search subjects where the associated record/account was deleted after a given timestamp

hostingDeletedBefore

string · datetime

Search subjects where the associated record/account was deleted before a given timestamp

Search subjects by the status of the associated record/account

itemsstring

hostingUpdatedAfter

string · datetime

Search subjects where the associated record/account was updated after a given timestamp

hostingUpdatedBefore

string · datetime

Search subjects where the associated record/account was updated before a given timestamp

itemsstring · uri

All subjects, or subjects from given 'collections' param, belonging to the account specified in the 'subject' param will be returned.

By default, we don't include muted subjects in the results. Set this to true to include them.

lastReviewedBy

string · did

Get all subject statuses that were reviewed by a specific moderator

limit

integer
  • minimum: 1
  • maximum: 100
  • default: 50

If specified, only subjects that belong to an account that has at least this many suspensions will be returned.

If specified, only subjects that have priority score value above the given value will be returned.

  • minimum: 0
  • maximum: 100

If specified, only subjects that belong to an account that has at least this many reported records will be returned.

If specified, only subjects that belong to an account that has at least this many active strikes will be returned.

  • minimum: 1

If specified, only subjects that belong to an account that has at least this many taken down records will be returned.

onlyMuted

boolean

When set to true, only muted subjects and reporters will be returned.

queueCount

integer

Number of queues being used by moderators. Subjects will be split among all queues.

queueIndex

integer

Index of the queue to fetch subjects from. Works only when queueCount value is specified.

queueSeed

string

A seeder to shuffle/balance the queue items.

reportedAfter

string · datetime

Search subjects reported after a given timestamp

reportedBefore

string · datetime

Search subjects reported before a given timestamp

Specify when fetching subjects in a certain state

  • knownValues: tools.ozone.moderation.defs#reviewOpen | tools.ozone.moderation.defs#reviewClosed | tools.ozone.moderation.defs#reviewEscalated | tools.ozone.moderation.defs#reviewNone

reviewedAfter

string · datetime

Search subjects reviewed after a given timestamp

reviewedBefore

string · datetime

Search subjects reviewed before a given timestamp

  • default: "desc"
  • enum: asc | desc

sortField

string
  • default: "lastReportedAt"
  • enum: lastReviewedAt | lastReportedAt | reportedRecordsCount | takendownRecordsCount | priorityScore

subject

string · uri

The subject to get the status for.

If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.

  • knownValues: account | record | conversation

tags

array
  • maxLength: 25
itemsstring

Items in this array are applied with OR filters. To apply AND filter, put all tags in the same string and separate using && characters

takendown

boolean

Get subjects that were taken down

Output

application/json

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

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

  • List moderation events related to a subject.

  • List subjects belonging to the authenticated account that have moderation actions from this moderation service.

  • Cursored listing of moderation reports for the queue view. Filterable by status, subject type, reason, reporter, and subject author. Sorted by (created_at DESC, id DESC). Requires the caller to be an active moderator (any role).

  • tools.ozone.queue.listQueues

    query not from the namespace authority

    List all configured moderation queues with statistics.