tools.ozone.report.closeReports
Close all reports on a subject matching the given criteria. Reports whose current status does not permit a transition to closed are skipped silently. Intended for automated flows that resolve reports without taking action on the subject.
- class atproto_client.models.tools.ozone.report.close_reports.Data
Bases:
DataModelBaseInput data model for
tools.ozone.report.closeReports.- field subject: Uri [Required]
Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.
- class atproto_client.models.tools.ozone.report.close_reports.DataDict
Bases:
TypedDict- subject: Uri
Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.
- internal_note: NotRequired[str | None]
Optional moderator-only note recorded on each close activity. Not visible to reporters.
- is_automated: NotRequired[bool | None]
Set true when this action is triggered by an automated process. Defaults to false.
- report_types: NotRequired[List[str] | None]
If specified, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted, all non-closed reports on the subject are targeted.
- class atproto_client.models.tools.ozone.report.close_reports.Response
Bases:
ResponseModelBaseOutput data model for
tools.ozone.report.closeReports.- field closed_count: int [Required]
Number of reports that were transitioned to closed.