pub.chive.admin.searchUsers

chive.pub View official

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Search users by handle or DID",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "users": {
              "description": "Matching users",
              "items": {
                "ref": "#userDetail",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "users"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "limit": {
            "default": 20,
            "description": "Maximum number of results",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "query": {
            "description": "Search term (handle or DID prefix)",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "userDetail": {
      "description": "User detail with stats and roles",
      "properties": {
        "createdAt": {
          "description": "Account indexed timestamp",
          "format": "datetime",
          "type": "string"
        },
        "did": {
          "description": "User DID",
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "description": "Display name",
          "type": "string"
        },
        "endorsementCount": {
          "description": "Number of endorsements given",
          "type": "integer"
        },
        "eprintCount": {
          "description": "Number of eprints submitted",
          "type": "integer"
        },
        "handle": {
          "description": "User handle",
          "type": "string"
        },
        "reviewCount": {
          "description": "Number of reviews written",
          "type": "integer"
        },
        "roles": {
          "description": "Assigned role identifiers",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "did",
        "eprintCount",
        "reviewCount",
        "endorsementCount",
        "roles"
      ],
      "type": "object"
    }
  },
  "id": "pub.chive.admin.searchUsers",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.admin.searchUsers

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7natp5xae72bddaqlkef2t4e
CID
bafyreifbh7rietuy5zsoqjnoh7how7wlyrapyx4pphdv43rfvdaotoe554
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.admin.searchUsers

Similar Lexicons

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

Lexicon Garden

@