pub.chive.admin.getGraphStats

lexicons.governance.chive.pub

Documentation

Get knowledge graph statistics

main query

Get knowledge graph statistics

Output

Encodingapplication/json
authorNodes integer Required

Nodes of subkind author.

fieldNodes integer Required

Nodes of subkind field.

institutionNodes integer Required

Nodes of subkind institution.

pendingProposals integer Required

Proposals awaiting review.

totalEdges integer Required

Total knowledge graph edges.

totalNodes integer Required

Total knowledge graph nodes.

Errors

AuthenticationRequired
AdminRequired
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
View raw schema
{
  "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"
}

Lexicon Garden

@