~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/hud

A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts

0
0
58 lines · 1.3 KB Raw History
{
	"lexicon": 1,
	"id": "social.grain.admin.getReviewStats",
	"defs": {
		"main": {
			"type": "query",
			"description": "Rollups for the review queue, the classifiers there are, and the progress of the latest scan. Requires an admin session.",
			"output": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"required": [
						"total",
						"pending",
						"byClassifier",
						"classifiers",
						"configured"
					],
					"properties": {
						"total": {
							"type": "integer",
							"description": "Subjects scored."
						},
						"pending": {
							"type": "integer",
							"description": "Subjects with an open report."
						},
						"byClassifier": {
							"type": "array",
							"items": {
								"type": "ref",
								"ref": "social.grain.admin.defs#classifierCount"
							}
						},
						"lastScan": {
							"type": "string",
							"format": "datetime"
						},
						"classifiers": {
							"type": "array",
							"items": {
								"type": "string"
							}
						},
						"configured": {
							"type": "boolean",
							"description": "Whether a classifier model is configured, so a scan can run."
						},
						"scan": {
							"type": "ref",
							"ref": "social.grain.admin.defs#scanProgress"
						}
					}
				}
			}
		}
	}
}