full diff

pub.chive.admin.getActivityCorrelation

From
bafyreieny5i5fgcwaa7ux7mgbhcvujrrwmcms5j6465xjgdxicpjrn4a6m indexed 2026-06-18 13:14 UTC View this version
To
bafyreieny5i5fgcwaa7ux7mgbhcvujrrwmcms5j6465xjgdxicpjrn4a6m indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "correlationMetric": {
55 "description": "Activity correlation metric for a category",
66 "properties": {
77 "avgLatency": {
88 "description": "Average latency in microseconds",
99 "type": "integer"
1010 },
1111 "category": {
1212 "description": "Activity category (create, update, delete)",
1313 "type": "string"
1414 },
1515 "confirmationRate": {
1616 "description": "Confirmation rate in basis points (0-10000, divide by 100 for percentage)",
1717 "type": "integer"
1818 },
1919 "confirmed": {
2020 "description": "Confirmed activities",
2121 "type": "integer"
2222 },
2323 "failed": {
2424 "description": "Failed activities",
2525 "type": "integer"
2626 },
2727 "hour": {
2828 "description": "Hourly bucket timestamp",
2929 "format": "datetime",
3030 "type": "string"
3131 },
3232 "p95Latency": {
3333 "description": "95th percentile latency in microseconds",
3434 "type": "integer"
3535 },
3636 "pending": {
3737 "description": "Pending activities",
3838 "type": "integer"
3939 },
4040 "timeout": {
4141 "description": "Timed-out activities",
4242 "type": "integer"
4343 },
4444 "totalActivities": {
4545 "description": "Total activities in category",
4646 "type": "integer"
4747 }
4848 },
4949 "required": [
5050 "category",
5151 "totalActivities",
5252 "confirmed",
5353 "failed",
5454 "confirmationRate"
5555 ],
5656 "type": "object"
5757 },
5858 "main": {
5959 "description": "Get activity correlation metrics across content types",
6060 "errors": [
6161 {
6262 "name": "AuthenticationRequired"
6363 },
6464 {
6565 "name": "AdminRequired"
6666 }
6767 ],
6868 "output": {
6969 "encoding": "application/json",
7070 "schema": {
7171 "properties": {
7272 "metrics": {
7373 "description": "Correlation metric entries",
7474 "items": {
7575 "ref": "#correlationMetric",
7676 "type": "ref"
7777 },
7878 "type": "array"
7979 },
8080 "timestamp": {
8181 "description": "Metrics snapshot timestamp",
8282 "format": "datetime",
8383 "type": "string"
8484 }
8585 },
8686 "required": [
8787 "metrics",
8888 "timestamp"
8989 ],
9090 "type": "object"
9191 }
9292 },
9393 "parameters": {
9494 "properties": {},
9595 "type": "params"
9696 },
9797 "type": "query"
9898 }
9999 },
100100 "id": "pub.chive.admin.getActivityCorrelation",
101101 "lexicon": 1,
102102 "revision": 1
103103}