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.

Details · procedure
Kindprocedure
Authorityreport.ozone.tools
Indexed

Procedure

procedure · POST

Input

application/json

Optional moderator-only note recorded on each close activity. Not visible to reporters.

Set true when this action is triggered by an automated process. Defaults to false.

  • default: false

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.

itemsstring

subject

requiredstring · uri

Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed.

Output

application/json

closedCount

requiredinteger

Number of reports that were transitioned to closed.

reportIds

requiredarray

IDs of the reports that were closed.

itemsinteger

Similar lexicons

semantic match

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

  • Close a report without acting on the subject. Valid from `open` (fast-path obvious junk) and from `underReview`. Writes a single `reportDismissed` audit row. Fast-path dismissal directly from `open` does NOT emit a `reportTriaged` audit row first — only the dismissal entry is written.

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