pub.chive.metrics.getMetrics
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get comprehensive metrics for an eprint",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"totalDownloads": {
"description": "Total download count",
"minimum": 0,
"type": "integer"
},
"totalViews": {
"description": "Total view count",
"minimum": 0,
"type": "integer"
},
"uniqueViews": {
"description": "Unique viewer count",
"minimum": 0,
"type": "integer"
},
"views24h": {
"description": "Views in last 24 hours",
"minimum": 0,
"type": "integer"
},
"views30d": {
"description": "Views in last 30 days",
"minimum": 0,
"type": "integer"
},
"views7d": {
"description": "Views in last 7 days",
"minimum": 0,
"type": "integer"
}
},
"required": [
"totalViews",
"uniqueViews",
"totalDownloads",
"views24h",
"views7d",
"views30d"
],
"type": "object"
}
},
"parameters": {
"properties": {
"uri": {
"description": "AT-URI of the eprint",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "params"
},
"type": "query"
}
},
"id": "pub.chive.metrics.getMetrics",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:7natp5xae72bddaqlkef2t4e - CID
-
bafyreidzvithrbc5f42qo7t5tvzgg44arxnwpk4z72tmmv2tduecrm6nje - Indexed At
- 2026-05-04 17:29 UTC
- AT-URI
-
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.metrics.getMetrics
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Get simple view count for an eprint
-
Get metrics overview with trending eprints for a given period
-
Get view and download time series data
-
Get trending eprints based on view counts within a time window
-
pub.chive.metrics.recordView procedure
Record a view event for an eprint