AT Protocol XRPC API
XRPC is the AT Protocol's HTTP-based remote procedure call layer. All protocol interactions — querying records, writing records, subscribing to streams, resolving identity, moderating content — are exposed as XRPC methods defined in Lexicon schemas. PDS, Relay, and AppView services all speak XRPC, so the same client library can be pointed at different network roles. The HTTP surface uses /xrpc/{nsid} paths and JSON request/response bodies (with optional CBOR for record content).