Skip to content

AT Protocol Lexicons

Lexicons are the schema definitions that power the AT Protocol. They define the structure of records, queries, procedures, and subscriptions used throughout the network.

This documentation is auto-generated from the official atproto repository.

app.bsky.*

Bluesky application schemas including feeds, posts, profiles, and social features.

com.atproto.*

Core AT Protocol schemas for identity, repositories, sync, and server operations.

chat.bsky.*

Bluesky chat and messaging schemas.

tools.ozone.*

Ozone moderation and administration tools.

Lexicons can define several types of operations:

  • Records - Data structures that can be stored in repositories (e.g., posts, profiles, likes)
  • Queries - Read-only operations to fetch data from a server
  • Procedures - Operations that modify server state
  • Subscriptions - Real-time event streams

This documentation is automatically generated. To update to the latest lexicon definitions:

Terminal window
npm run docs:generate

This will pull the latest lexicons from the atproto repository and regenerate all documentation pages.