Schema reference

com.para.actor.getProfileStats

experimental

Actor query for Para profile stats and current public status, used to enrich representative and profile-adjacent civic surfaces.

Fields

actor

at-identifier

Required

Handle or DID identifying the actor whose Para civic stats should be returned.

stats

com.para.actor.defs#profileStats

Required

Aggregated Para profile statistics and civic counters.

status

com.para.actor.defs#statusView

Optional

Current public Para status for the actor when available.

Metadata

Schema ID
com.para.actor.getProfileStats
Lexicon source
lexicons/com/para/actor/getProfileStats.json
Website source path
watx/lexicons/com/para/actor/getProfileStats.json
Product surfaces
Representative summaries, Profile civic stats

Constraints

  • `actor` is required and may be a handle or DID.
  • Current published errors include NotFound, BlockedActor, and BlockedByActor.

Relationships

  • Returns com.para.actor.defs#profileStats and com.para.actor.defs#statusView.
  • Extends the profile route with Para-specific civic state rather than generic social counters.

Lifecycle

  • Read at profile-adjacent surfaces when Para civic context is needed.
  • Combines indexed actor stats with current Para status.

Writers

  • Not written directly by clients; materialized by backend profile/stat logic.

Readers

  • Profile and representative views.
  • Any civic surface that needs Para-specific actor summaries.

Routes

  • /profile/:name
  • /representatives

XRPC methods

  • com.para.actor.getProfileStats

Indexing and moderation

Indexing

  • Depends on indexed actor state and Para status records.

Moderation

  • BlockedActor and BlockedByActor errors enforce actor-level safety constraints.

Examples

{"actor":"did:plc:example","stats":{"communities":6,"posts":42},"status":{"literal":"Independent","party":"none"}}