app.zeens.getMessages

zeens.app

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Return the message history for one conversation, newest-first, paginated. Each item's body is base64-obfuscated (not encrypted); Zeens decodes it. The viewer must be a participant.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "messages": {
              "items": {
                "properties": {
                  "body": {
                    "type": "string"
                  },
                  "convoId": {
                    "type": "string"
                  },
                  "createdAt": {
                    "type": "string"
                  },
                  "recipient": {
                    "format": "did",
                    "type": "string"
                  },
                  "sender": {
                    "format": "did",
                    "type": "string"
                  },
                  "uri": {
                    "type": "string"
                  }
                },
                "required": [
                  "uri",
                  "sender",
                  "convoId",
                  "body",
                  "createdAt"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "messages"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "convoId": {
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 36,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "viewer": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "viewer",
          "convoId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.zeens.getMessages",
  "lexicon": 1
}

Validate Record

Validate a record against app.zeens.getMessages

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:pwpuqwge6g7xrjmfbw73uycw
CID
bafyreiay6azzgqnfj2ce77whdgsqzjwmywx2pepldnjprnhib5nsfgb73e
Indexed At
2026-10-22 16:31 UTC
AT-URI
at://did:plc:pwpuqwge6g7xrjmfbw73uycw/com.atproto.lexicon.schema/app.zeens.getMessages

Similar Lexicons

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

Lexicon Garden

@