club.foryou.getStats
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"activity": {
"description": "The user's own usage of the For You feed.",
"properties": {
"likesGiven": {
"type": "integer"
},
"postsViewed": {
"type": "integer"
},
"showLess": {
"type": "integer"
},
"showMore": {
"type": "integer"
},
"totalRequests": {
"type": "integer"
}
},
"required": [
"totalRequests",
"postsViewed",
"likesGiven",
"showMore",
"showLess"
],
"type": "object"
},
"author": {
"description": "How the user's own posts performed in the feed.",
"properties": {
"topPosts": {
"items": {
"ref": "#post",
"type": "ref"
},
"type": "array"
},
"totalLikes": {
"type": "integer"
},
"totalViews": {
"type": "integer"
}
},
"required": [
"totalViews",
"totalLikes",
"topPosts"
],
"type": "object"
},
"curator": {
"description": "How the user's likes helped others: people who liked the same posts were shown what else the user liked.",
"properties": {
"likesCreated": {
"type": "integer"
},
"topPosts": {
"items": {
"ref": "#post",
"type": "ref"
},
"type": "array"
},
"usersHelped": {
"type": "integer"
},
"viewsCreated": {
"type": "integer"
}
},
"required": [
"usersHelped",
"viewsCreated",
"likesCreated",
"topPosts"
],
"type": "object"
},
"main": {
"description": "Authenticated, read-only view of a user's own For You (foryou.club) stats. Requires an atproto service-auth JWT (Authorization: Bearer) with aud=did:web:foryou.club and lxm=club.foryou.getStats; the token's iss identifies the user whose stats are returned.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"activity": {
"ref": "#activity",
"type": "ref"
},
"author": {
"ref": "#author",
"type": "ref"
},
"curator": {
"ref": "#curator",
"type": "ref"
},
"daysAnalyzed": {
"type": "integer"
},
"did": {
"description": "DID of the user these stats belong to.",
"format": "did",
"type": "string"
},
"displayName": {
"type": "string"
},
"generatedAt": {
"format": "datetime",
"type": "string"
},
"handle": {
"format": "handle",
"type": "string"
}
},
"required": [
"did",
"daysAnalyzed",
"generatedAt",
"activity",
"curator",
"author"
],
"type": "object"
}
},
"parameters": {
"properties": {
"days": {
"description": "Number of days to aggregate over. Defaults to the server's configured window.",
"maximum": 365,
"minimum": 1,
"type": "integer"
}
},
"type": "params"
},
"type": "query"
},
"post": {
"properties": {
"likes": {
"type": "integer"
},
"uniqueViewers": {
"type": "integer"
},
"uri": {
"format": "at-uri",
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"uri",
"url",
"likes"
],
"type": "object"
}
},
"id": "club.foryou.getStats",
"lexicon": 1
}
Metadata
- DID
-
did:plc:qhyg27lbj3uqsmlyvmsh2bjx - CID
-
bafyreiaruwth36kv7akyfcungeuufk7x5mkvvmlgytykao3bfrm4tat3we - Indexed At
- 2026-09-26 22:10 UTC
- AT-URI
-
at://did:plc:qhyg27lbj3uqsmlyvmsh2bjx/com.atproto.lexicon.schema/club.foryou.getStats
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Author profile for a DID with aggregate stats and a first page of their publications.