pub.chive.admin.getGraphStats

Get knowledge graph statistics

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · query
Kindquery
Authorityadmin.chive.pub
Indexed
cid bafyreihzmz5qlw6rn2gb6xtryjwexjo5byjkpkc5oyqr535ldqd2na2cqm

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get knowledge graph statistics",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "authorNodes": {
              "description": "Nodes of subkind author.",
              "type": "integer"
            },
            "fieldNodes": {
              "description": "Nodes of subkind field.",
              "type": "integer"
            },
            "institutionNodes": {
              "description": "Nodes of subkind institution.",
              "type": "integer"
            },
            "pendingProposals": {
              "description": "Proposals awaiting review.",
              "type": "integer"
            },
            "totalEdges": {
              "description": "Total knowledge graph edges.",
              "type": "integer"
            },
            "totalNodes": {
              "description": "Total knowledge graph nodes.",
              "type": "integer"
            }
          },
          "required": [
            "totalNodes",
            "totalEdges",
            "fieldNodes",
            "authorNodes",
            "institutionNodes",
            "pendingProposals"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {},
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "pub.chive.admin.getGraphStats",
  "lexicon": 1,
  "revision": 1
}