tools.ozone.report.closeReports

Close eligible reports on a subject matching the given criteria, optionally linking an existing moderation action. Assigned, escalated, and actively assigned reports are excluded unless explicitly targeted by reportId. Reports whose current status does not permit a transition to closed are skipped silently.

Details · procedure
Kindprocedure
Authorityreport.ozone.tools
Commit rev3n2oxkytspk24
Indexed

Procedure

procedure · POST

Input

application/json

Optional existing moderation event that closes reports. It must target the exact subject or its owning account; account-wide closure requires an account event. The event is linked to each closed report and may predate the report. The link does not imply the action is still in effect.

  • minimum: 1

Reports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded.

itemsstring

If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID.

  • default: false

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

meta

unknown

Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service.

reportId

integer

An explicitly targeted report in the requested subject scope. It is included even if assigned, escalated, or not in reportTypes; excludedReportTypes still applies.

  • minimum: 1

If nonempty, eligible reports of the given report types (fully qualified reason NSIDs) are closed, in addition to reportId. When omitted or empty, all eligible reports in the requested subject scope are targeted, except excludedReportTypes. Assigned, escalated, and actively assigned reports are excluded unless explicitly targeted by reportId.

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.

  • Take a moderation action on an actor.

  • 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.

  • Flip `moderation_status` on a subject row to a non-zero takedown class. Read paths immediately refuse to serve the subject (404 on getPost / getReply / actor reads). Re-takedown against an already-taken-down subject is permitted as a severity escalation (e.g. `reported` → `legalHold`) or to amend the reason; each call writes a new audit row. Scoped to the subject row ONLY: an account takedown flips the profile row (offensive avatar/bio case) and does not touch the account's content — hiding ever

  • Get a moderation report submitted by the authenticated account to this moderation service.