social.grain.admin.getReviewStats

Rollups for the review queue, the classifiers there are, and the progress of the latest scan. Requires an admin session.

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 namespace authority
Details · query
Kindquery
Authorityadmin.grain.social
Commit rev3n2mx2ldla2bg
Indexed

Query

query · GET

Output

application/json

byClassifier

requiredarray

classifiers

requiredarray
itemsstring

configured

requiredboolean

Whether a classifier model is configured, so a scan can run.

lastScan

string · datetime

pending

requiredinteger

Subjects with an open report.

total

requiredinteger

Subjects scored.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • The classifier review queue, one item per subject, highest score first. Requires an admin session.

  • One subject in the review queue, however many classifiers scored it.

  • Start a classifier scan. Answers once it is under way; progress is polled from getReviewStats. Requires an admin session.

  • Everything needed to judge one account: its status, the labels on it and on its records, the reports against them, a sample of its records and how many it has of each kind. Requires an admin session.