{
"id": "dev.cocore.compute.latency",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"type": "object",
"properties": {
"byModel": {
"type": "unknown"
},
"overall": {
"type": "unknown"
},
"byProvider": {
"type": "unknown"
}
},
"description": "Latency overview, grouped overall and by provider and model. Each group reports a sample size and summary statistics (e.g. p50/p95) over the receipts' start→complete durations."
},
"encoding": "application/json"
},
"description": "Network latency rollup derived purely from indexed receipts' signed `startedAt`/`completedAt` pairs — the last ≤100 per group (overall, per-provider, per-model). No side metrics store: the receipts are the source of truth, so the numbers cannot drift from them."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}