tools.ozone.moderation.query Statuses

GET {{baseUrl}}/xrpc/tools.ozone.moderation.queryStatuses?includeAllUserRecords=<boolean>&subject=<uri>&comment=<string>&reportedAfter=<dateTime>&reportedBefore=<dateTime>&reviewedAfter=<dateTime>&hostingDeletedAfter=<dateTime>&hostingDeletedBefore=<dateTime>&hostingUpdatedAfter=<dateTime>&hostingUpdatedBefore=<dateTime>&hostingStatuses=<string>&hostingStatuses=<string>&reviewedBefore=<dateTime>&includeMuted=<boolean>&onlyMuted=<boolean>&reviewState=<string>&ignoreSubjects=<uri>&ignoreSubjects=<uri>&lastReviewedBy=<did>&sortField=lastReportedAt&sortDirection=desc&takendown=<boolean>&appealed=<boolean>&limit=50&tags=<string>&tags=<string>&excludeTags=<string>&excludeTags=<string>&cursor=<string>&collections=<nsid>&collections=<nsid>&subjectType=<string>

This endpoint is part of the Ozone moderation service APIs. Requests usually require authentication, are directed to the user's PDS intance, and proxied to the Ozone instance indicated by the DID in the service proxying header. Admin authenentication may also be possible, with request sent directly to the Ozone instance.

To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.

View moderation statuses of subjects (record or repo).

Request Params

KeyDatatypeRequiredDescription
includeAllUserRecordsstringAll subjects, or subjects from given 'collections' param, belonging to the account specified in the 'subject' param will be returned.
subjectstringThe subject to get the status for.
commentstringSearch subjects by keyword from comments
reportedAfterstringSearch subjects reported after a given timestamp
reportedBeforestringSearch subjects reported before a given timestamp
reviewedAfterstringSearch subjects reviewed after a given timestamp
hostingDeletedAfterstringSearch subjects where the associated record/account was deleted after a given timestamp
hostingDeletedBeforestringSearch subjects where the associated record/account was deleted before a given timestamp
hostingUpdatedAfterstringSearch subjects where the associated record/account was updated after a given timestamp
hostingUpdatedBeforestringSearch subjects where the associated record/account was updated before a given timestamp
hostingStatusesstringSearch subjects by the status of the associated record/account
hostingStatusesstringSearch subjects by the status of the associated record/account
reviewedBeforestringSearch subjects reviewed before a given timestamp
includeMutedstringBy default, we don't include muted subjects in the results. Set this to true to include them.
onlyMutedstringWhen set to true, only muted subjects and reporters will be returned.
reviewStatestringSpecify when fetching subjects in a certain state
ignoreSubjectsstring
ignoreSubjectsstring
lastReviewedBystringGet all subject statuses that were reviewed by a specific moderator
sortFieldstring
sortDirectionstring
takendownstringGet subjects that were taken down
appealedstringGet subjects in unresolved appealed status
limitnumber
tagsstring
tagsstring
excludeTagsstring
excludeTagsstring
cursorstring
collectionsstringIf specified, subjects belonging to the given collections will be returned. When subjectType is set to 'account', this will be ignored.
collectionsstringIf specified, subjects belonging to the given collections will be returned. When subjectType is set to 'account', this will be ignored.
subjectTypestringIf specified, subjects of the given type (account or record) 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.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;subjectStatuses&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;subject&quot;:{&quot;did&quot;:&quot;\u003cdid\u003e&quot;},&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;reviewState&quot;:&quot;\u003cstring\u003e&quot;,&quot;hosting&quot;:{&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;deletedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;deactivatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;reactivatedAt&quot;:&quot;\u003cdateTime\u003e&quot;},&quot;subjectBlobCids&quot;:[&quot;\u003ccid\u003e&quot;,&quot;\u003ccid\u003e&quot;],&quot;subjectRepoHandle&quot;:&quot;\u003cstring\u003e&quot;,&quot;comment&quot;:&quot;\u003cstring\u003e&quot;,&quot;muteUntil&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;muteReportingUntil&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;lastReviewedBy&quot;:&quot;\u003cdid\u003e&quot;,&quot;lastReviewedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;lastReportedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;lastAppealedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;takendown&quot;:&quot;\u003cboolean\u003e&quot;,&quot;appealed&quot;:&quot;\u003cboolean\u003e&quot;,&quot;suspendUntil&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;tags&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;]},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;subject&quot;:{&quot;did&quot;:&quot;\u003cdid\u003e&quot;},&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;reviewState&quot;:&quot;\u003cstring\u003e&quot;,&quot;hosting&quot;:{&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;deletedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;deactivatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;reactivatedAt&quot;:&quot;\u003cdateTime\u003e&quot;},&quot;subjectBlobCids&quot;:[&quot;\u003ccid\u003e&quot;,&quot;\u003ccid\u003e&quot;],&quot;subjectRepoHandle&quot;:&quot;\u003cstring\u003e&quot;,&quot;comment&quot;:&quot;\u003cstring\u003e&quot;,&quot;muteUntil&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;muteReportingUntil&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;lastReviewedBy&quot;:&quot;\u003cdid\u003e&quot;,&quot;lastReviewedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;lastReportedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;lastAppealedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;takendown&quot;:&quot;\u003cboolean\u003e&quot;,&quot;appealed&quot;:&quot;\u003cboolean\u003e&quot;,&quot;suspendUntil&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;tags&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;]}],&quot;cursor&quot;:&quot;\u003cstring\u003e&quot;}