dev.knotless.createReport

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Sends com.atproto.moderation.createReport to the moderation service this appview names, with a service token from the account logged in to its web pages, as `knotless report` does. Requires the session cookie the pages' login sets.",
      "errors": [
        {
          "description": "No account is logged in to the pages, or its session has ended.",
          "name": "AuthenticationRequired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "reason": {
              "description": "Why, as com.atproto.moderation.defs names reasons, by the last word of each.",
              "knownValues": [
                "spam",
                "violation",
                "misleading",
                "sexual",
                "rude",
                "other"
              ],
              "maxLength": 64,
              "type": "string"
            },
            "subject": {
              "description": "What is reported: an account's handle or DID, a repository's knotless:// URL, or the at:// URI of a record, such as a pull, an issue or a comment.",
              "maxLength": 8192,
              "type": "string"
            },
            "text": {
              "description": "More on why, for the moderators.",
              "maxGraphemes": 2000,
              "maxLength": 20000,
              "type": "string"
            }
          },
          "required": [
            "subject",
            "reason"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "reportId": {
              "description": "The report's number, as the moderation service gave it.",
              "type": "integer"
            }
          },
          "required": [
            "reportId"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Reports an account, a repository, or what someone wrote about one, to the moderation service, as the account logged in to this appview's pages.",
  "id": "dev.knotless.createReport",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.createReport

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreiddctng5ndr7ueoqiuirzjq4kzhxgrnjzuwtwj6gjy36bjimc7kom
Indexed At
2026-10-28 21:21 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.createReport

Similar Lexicons

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

  • Submit a moderation report regarding an atproto account or record. Implemented by moderation services (with PDS proxying), and requires auth.

  • app.lovesky.moderation.createReport procedurenot from the namespace authority

    Report an account to Lovesky's moderators. Reports are private; the subject is never told who reported them.

  • Report content for moderation review. Requires authentication. Duplicate reports from the same user for the same content are idempotent.

  • Submit a user-initiated report on a post, reply, or actor account. The reporter DID is read from the authenticated principal. Reports are dedupe-forever on (reporter, subject): a duplicate submission returns the existin…

  • Creates a private Community-moderator report for a linked post. Requires authenticated service authorization.

Lexicon Garden

@