tools.ozone.inbox.getReport

ozone-lexicons.bsky.social

Documentation

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

main query

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

Parameters

did string did Optional

Reporter to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential.

id integer Required

Report ID (report table ID), as returned by listReports.

Output

Encodingapplication/json
report ref#reportView Required

No description available.

resolution ref#resolutionView Optional

Present only when the report is resolved.

Errors

NotFound No report was found, or the authenticated account did not submit it.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
Reporter to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential.
Report ID (report table ID), as returned by listReports.
View raw schema
{
  "description": "Get a moderation report submitted by the authenticated account to this moderation service.",
  "errors": [
    {
      "description": "No report was found, or the authenticated account did not submit it.",
      "name": "NotFound"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "report": {
          "ref": "#reportView",
          "type": "ref"
        },
        "resolution": {
          "description": "Present only when the report is resolved.",
          "ref": "#resolutionView",
          "type": "ref"
        }
      },
      "required": [
        "report"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "did": {
        "description": "Reporter to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential.",
        "format": "did",
        "type": "string"
      },
      "id": {
        "description": "Report ID (report table ID), as returned by listReports.",
        "type": "integer"
      }
    },
    "required": [
      "id"
    ],
    "type": "params"
  },
  "type": "query"
}
reportView object

No description available.

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

id integer Required

Report ID (report table ID), used by Ozone's report detail page.

reason string Optional

No description available.

maxLength: 20000 bytesmaxGraphemes: 2000 graphemes
reasonType string Required

The exact fully-qualified reason NSID submitted with and stored on the report.

record unknown Optional

Raw record JSON for the subject, when the subject is a record and the record is available.

src string did Required

DID of the moderation service that received the report.

status string Required

No description available.

Known values: pending, resolved
updatedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "properties": {
    "createdAt": {
      "format": "datetime",
      "type": "string"
    },
    "id": {
      "description": "Report ID (report table ID), used by Ozone's report detail page.",
      "type": "integer"
    },
    "reason": {
      "maxGraphemes": 2000,
      "maxLength": 20000,
      "type": "string"
    },
    "reasonType": {
      "description": "The exact fully-qualified reason NSID submitted with and stored on the report.",
      "type": "string"
    },
    "record": {
      "description": "Raw record JSON for the subject, when the subject is a record and the record is available.",
      "type": "unknown"
    },
    "src": {
      "description": "DID of the moderation service that received the report.",
      "format": "did",
      "type": "string"
    },
    "status": {
      "knownValues": [
        "pending",
        "resolved"
      ],
      "type": "string"
    },
    "subject": {
      "refs": [
        "com.atproto.admin.defs#repoRef",
        "com.atproto.repo.strongRef",
        "chat.bsky.convo.defs#messageRef",
        "chat.bsky.convo.defs#convoRef"
      ],
      "type": "union"
    },
    "updatedAt": {
      "format": "datetime",
      "type": "string"
    }
  },
  "required": [
    "src",
    "id",
    "reasonType",
    "subject",
    "status",
    "createdAt",
    "updatedAt"
  ],
  "type": "object"
}
resolutionView object

No description available.

Properties

actionTaken string Optional

Public action associated with this report's resolution. See the public action vocabulary table.

outcome string Required

No description available.

Known values: actionTaken, noAction, other
resolvedAt string datetime Required

An RFC 3339 formatted timestamp.

scope string Optional

No description available.

Known values: network, app, labelOnly
View raw schema
{
  "properties": {
    "actionTaken": {
      "description": "Public action associated with this report's resolution. See the public action vocabulary table.",
      "type": "string"
    },
    "outcome": {
      "knownValues": [
        "actionTaken",
        "noAction",
        "other"
      ],
      "type": "string"
    },
    "resolvedAt": {
      "format": "datetime",
      "type": "string"
    },
    "scope": {
      "knownValues": [
        "network",
        "app",
        "labelOnly"
      ],
      "type": "string"
    }
  },
  "required": [
    "outcome",
    "resolvedAt"
  ],
  "type": "object"
}

Lexicon Garden

@