{
"id": "dev.cocore.compute.modelActivity",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"generatedAt",
"models"
],
"properties": {
"models": {
"type": "array",
"items": {
"type": "object",
"required": [
"modelId",
"totals",
"byProvider"
],
"properties": {
"totals": {
"ref": "dev.cocore.defs#activityWindows",
"type": "ref"
},
"modelId": {
"type": "string"
},
"byProvider": {
"type": "array",
"items": {
"type": "object",
"required": [
"did",
"stats"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"stats": {
"ref": "dev.cocore.defs#activityWindows",
"type": "ref"
}
}
}
}
}
}
},
"generatedAt": {
"type": "string",
"format": "datetime"
}
}
},
"encoding": "application/json"
},
"description": "Aggregate receipt activity per model and per time window. Walks the most-recent indexed receipts (capped at 5000), groups by `body.model`, and tallies requests + tokens across the hour/day/week/month windows, with per-provider breakdowns."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:5quuhkmwe2q4k3azfsgg7kdz
- CID
-
bafyreiadqfgpn32doyy44rr3zp45ktksnc5qpc7rmugeuerrgo7rauafaq
- Indexed At
- 2026-06-21 00:58 UTC
- AT-URI
-
at://did:plc:5quuhkmwe2q4k3azfsgg7kdz/com.atproto.lexicon.schema/dev.cocore.compute.modelActivity
Referenced Schemas (1)
-
dev.cocore.defs#activityWindows