tools.ozone.moderation.getAccountTimeline

ozone-lexicons.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get timeline of all available events of an account. This includes moderation events, account history and did history.",
      "errors": [
        {
          "name": "RepoNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "timeline": {
              "items": {
                "ref": "#timelineItem",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "timeline"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "timelineItem": {
      "properties": {
        "day": {
          "type": "string"
        },
        "summary": {
          "items": {
            "ref": "#timelineItemSummary",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "day",
        "summary"
      ],
      "type": "object"
    },
    "timelineItemSummary": {
      "properties": {
        "count": {
          "type": "integer"
        },
        "eventSubjectType": {
          "knownValues": [
            "account",
            "record",
            "chat"
          ],
          "type": "string"
        },
        "eventType": {
          "knownValues": [
            "tools.ozone.moderation.defs#modEventTakedown",
            "tools.ozone.moderation.defs#modEventReverseTakedown",
            "tools.ozone.moderation.defs#modEventComment",
            "tools.ozone.moderation.defs#modEventReport",
            "tools.ozone.moderation.defs#modEventLabel",
            "tools.ozone.moderation.defs#modEventAcknowledge",
            "tools.ozone.moderation.defs#modEventEscalate",
            "tools.ozone.moderation.defs#modEventMute",
            "tools.ozone.moderation.defs#modEventUnmute",
            "tools.ozone.moderation.defs#modEventMuteReporter",
            "tools.ozone.moderation.defs#modEventUnmuteReporter",
            "tools.ozone.moderation.defs#modEventEmail",
            "tools.ozone.moderation.defs#modEventResolveAppeal",
            "tools.ozone.moderation.defs#modEventDivert",
            "tools.ozone.moderation.defs#modEventTag",
            "tools.ozone.moderation.defs#accountEvent",
            "tools.ozone.moderation.defs#identityEvent",
            "tools.ozone.moderation.defs#recordEvent",
            "tools.ozone.moderation.defs#modEventPriorityScore",
            "tools.ozone.moderation.defs#revokeAccountCredentialsEvent",
            "tools.ozone.moderation.defs#ageAssuranceEvent",
            "tools.ozone.moderation.defs#ageAssuranceOverrideEvent",
            "tools.ozone.moderation.defs#timelineEventPlcCreate",
            "tools.ozone.moderation.defs#timelineEventPlcOperation",
            "tools.ozone.moderation.defs#timelineEventPlcTombstone",
            "tools.ozone.hosting.getAccountHistory#accountCreated",
            "tools.ozone.hosting.getAccountHistory#emailConfirmed",
            "tools.ozone.hosting.getAccountHistory#passwordUpdated",
            "tools.ozone.hosting.getAccountHistory#handleUpdated",
            "tools.ozone.moderation.defs#scheduleTakedownEvent",
            "tools.ozone.moderation.defs#cancelScheduledTakedownEvent"
          ],
          "type": "string"
        }
      },
      "required": [
        "eventSubjectType",
        "eventType",
        "count"
      ],
      "type": "object"
    }
  },
  "id": "tools.ozone.moderation.getAccountTimeline",
  "lexicon": 1
}

Validate Record

Validate a record against tools.ozone.moderation.getAccountTimeline

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:33dt5kftu3jq2h5h4jjlqezt
CID
bafyreigefofmktxu5ckeghyn33gigj2lkts5labk2it2krqlj5wdyn5ndm
Indexed At
2026-07-26 20:04 UTC
AT-URI
at://did:plc:33dt5kftu3jq2h5h4jjlqezt/com.atproto.lexicon.schema/tools.ozone.moderation.getAccountTimeline

Similar Lexicons

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

  • List moderation events related to a subject.

  • Audit timeline for a single subject (post URI, reply URI, or account DID). Returns every moderation_audit row referencing the subject, in reverse-chronological order. Used by the moderator UI to answer 'what has ever ha…

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

  • Global audit journal browser for the moderation console. Returns moderation_audit rows in reverse-chronological (created_at, id) keyset order, optionally filtered by acting moderator, action type, or subject DID. Comple…

  • Get account history, e.g. log of updated email addresses or other identity information.

Lexicon Garden

@