pub.chive.admin.getMetricsOverview
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get metrics overview with trending eprints for a given period",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "AdminRequired"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"period": {
"description": "Period information",
"ref": "#periodInfo",
"type": "ref"
},
"trending": {
"description": "Trending eprints in the period",
"items": {
"ref": "#trendingEprint",
"type": "ref"
},
"type": "array"
}
},
"type": "object"
}
},
"parameters": {
"properties": {
"days": {
"default": 7,
"description": "Number of days to aggregate",
"maximum": 90,
"minimum": 1,
"type": "integer"
}
},
"type": "params"
},
"type": "query"
},
"periodInfo": {
"description": "Time period information",
"properties": {
"days": {
"description": "Number of days in the period",
"type": "integer"
},
"endDate": {
"description": "Period end date",
"format": "datetime",
"type": "string"
},
"startDate": {
"description": "Period start date",
"format": "datetime",
"type": "string"
}
},
"required": [
"days",
"startDate",
"endDate"
],
"type": "object"
},
"trendingEprint": {
"description": "A trending eprint with engagement metrics",
"properties": {
"authorDid": {
"description": "Author DID",
"format": "did",
"type": "string"
},
"authorHandle": {
"description": "Author handle",
"type": "string"
},
"downloads": {
"description": "Total downloads in period",
"type": "integer"
},
"title": {
"description": "Eprint title",
"type": "string"
},
"uri": {
"description": "Eprint AT URI",
"format": "at-uri",
"type": "string"
},
"velocity": {
"description": "Engagement velocity in milliunits",
"type": "integer"
},
"views": {
"description": "Total views in period",
"type": "integer"
}
},
"required": [
"uri",
"title",
"views",
"downloads"
],
"type": "object"
}
},
"id": "pub.chive.admin.getMetricsOverview",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:7natp5xae72bddaqlkef2t4e - CID
-
bafyreieo2jfjl4e4ewfxa2fwbbhsxoy53lg4kphzyalpawbxigk73lgdou - Indexed At
- 2026-05-04 17:29 UTC
- AT-URI
-
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.admin.getMetricsOverview
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Get trending eprints ranked by engagement velocity
-
Get trending eprints based on view counts within a time window
-
Get comprehensive metrics for an eprint
-
Get view and download time series data