tools.ozone.moderation.queryStatuses

View moderation statuses of subjects (record or repo).

class atproto_client.models.tools.ozone.moderation.query_statuses.Params

Bases: ParamsModelBase

Parameters model for tools.ozone.moderation.queryStatuses.

field age_assurance_state: Literal['pending', 'assured', 'unknown', 'reset', 'blocked'] | str | None = None
field appealed: bool | None = None

Get subjects in unresolved appealed status.

field collections: List[Nsid] | None = None
Constraints:
  • max_length = 20

field comment: str | None = None

Search subjects by keyword from comments.

field cursor: str | None = None

Cursor.

field exclude_tags: List[str] | None = None

Exclude tags.

field hosting_deleted_after: DateTime | None = None
field hosting_deleted_before: DateTime | None = None
field hosting_statuses: List[str] | None = None

Search subjects by the status of the associated record/account.

field hosting_updated_after: DateTime | None = None
field hosting_updated_before: DateTime | None = None
field ignore_subjects: List[Uri] | None = None

Ignore subjects.

field include_all_user_records: bool | None = None
field include_muted: bool | None = None
field last_reviewed_by: Did | None = None
field limit: int | None = None

Limit.

Constraints:
  • ge = 1

  • le = 100

field min_account_suspend_count: int | None = None
field min_priority_score: int | None = None
Constraints:
  • ge = 0

  • le = 100

field min_reported_records_count: int | None = None
field min_strike_count: int | None = None
Constraints:
  • ge = 1

field min_takendown_records_count: int | None = None
field only_muted: bool | None = None

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

field queue_count: int | None = None
field queue_index: int | None = None
field queue_seed: str | None = None

A seeder to shuffle/balance the queue items.

field reported_after: DateTime | None = None

Search subjects reported after a given timestamp.

field reported_before: DateTime | None = None

Search subjects reported before a given timestamp.

field review_state: models.ToolsOzoneModerationDefs.ReviewOpen | models.ToolsOzoneModerationDefs.ReviewClosed | models.ToolsOzoneModerationDefs.ReviewEscalated | models.ToolsOzoneModerationDefs.ReviewNone | str | None = None

Specify when fetching subjects in a certain state.

field reviewed_after: DateTime | None = None

Search subjects reviewed after a given timestamp.

field reviewed_before: DateTime | None = None

Search subjects reviewed before a given timestamp.

field sort_direction: Literal['asc', 'desc'] | None = 'desc'

Sort direction.

field sort_field: Literal['lastReviewedAt', 'lastReportedAt', 'reportedRecordsCount', 'takendownRecordsCount', 'priorityScore'] | None = 'lastReportedAt'

Sort field.

field subject: Uri | None = None

The subject to get the status for.

field subject_type: Literal['account', 'record', 'conversation'] | str | None = None
field tags: List[str] | None = None
Constraints:
  • max_length = 25

field takendown: bool | None = None

Get subjects that were taken down.

class atproto_client.models.tools.ozone.moderation.query_statuses.ParamsDict

Bases: TypedDict

age_assurance_state: NotRequired[Literal['pending', 'assured', 'unknown', 'reset', 'blocked'] | str | None]

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

appealed: NotRequired[bool | None]

Get subjects in unresolved appealed status.

collections: NotRequired[List[Nsid] | None]

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

comment: NotRequired[str | None]

Search subjects by keyword from comments.

cursor: NotRequired[str | None]

Cursor.

exclude_tags: NotRequired[List[str] | None]

Exclude tags.

hosting_deleted_after: NotRequired[DateTime | None]

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

hosting_deleted_before: NotRequired[DateTime | None]

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

hosting_statuses: NotRequired[List[str] | None]

Search subjects by the status of the associated record/account.

hosting_updated_after: NotRequired[DateTime | None]

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

hosting_updated_before: NotRequired[DateTime | None]

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

ignore_subjects: NotRequired[List[Uri] | None]

Ignore subjects.

include_all_user_records: NotRequired[bool | None]

All subjects, or subjects from given โ€˜collectionsโ€™ param, belonging to the account specified in the โ€˜subjectโ€™ param will be returned.

include_muted: NotRequired[bool | None]

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

last_reviewed_by: NotRequired[Did | None]

Get all subject statuses that were reviewed by a specific moderator.

limit: NotRequired[int | None]

Limit.

min_account_suspend_count: NotRequired[int | None]

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

min_priority_score: NotRequired[int | None]

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

min_reported_records_count: NotRequired[int | None]

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

min_strike_count: NotRequired[int | None]

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

min_takendown_records_count: NotRequired[int | None]

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

only_muted: NotRequired[bool | None]

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

queue_count: NotRequired[int | None]

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

queue_index: NotRequired[int | None]

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

queue_seed: NotRequired[str | None]

A seeder to shuffle/balance the queue items.

reported_after: NotRequired[DateTime | None]

Search subjects reported after a given timestamp.

reported_before: NotRequired[DateTime | None]

Search subjects reported before a given timestamp.

review_state: NotRequired[Literal['tools.ozone.moderation.defs#reviewOpen'] | Literal['tools.ozone.moderation.defs#reviewClosed'] | Literal['tools.ozone.moderation.defs#reviewEscalated'] | Literal['tools.ozone.moderation.defs#reviewNone'] | str | None]

Specify when fetching subjects in a certain state.

reviewed_after: NotRequired[DateTime | None]

Search subjects reviewed after a given timestamp.

reviewed_before: NotRequired[DateTime | None]

Search subjects reviewed before a given timestamp.

sort_direction: NotRequired[Literal['asc', 'desc'] | None]

Sort direction.

sort_field: NotRequired[Literal['lastReviewedAt', 'lastReportedAt', 'reportedRecordsCount', 'takendownRecordsCount', 'priorityScore'] | None]

Sort field.

subject: NotRequired[Uri | None]

The subject to get the status for.

subject_type: NotRequired[Literal['account', 'record', 'conversation'] | str | None]

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.

tags: NotRequired[List[str] | None]

Tags. 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: NotRequired[bool | None]

Get subjects that were taken down.

class atproto_client.models.tools.ozone.moderation.query_statuses.Response

Bases: ResponseModelBase

Output data model for tools.ozone.moderation.queryStatuses.

field cursor: str | None = None

Cursor.

field subject_statuses: List[models.ToolsOzoneModerationDefs.SubjectStatusView] [Required]

Subject statuses.