AT Protocol spaces are in development. Expect changes throughout the beta starting on December 1st, 2026.

Appendix A

XRPC methods

Each method links to its lexicon on Lexicon Garden. Link to a row with #authorizeSpaceSync.

Every method of the spaces extension, under com.atproto.space.*, com.atproto.memberspace.* and com.atproto.managedspace.* spec. The lexicons in bluesky-social/atproto are the source of truth for parameters, outputs, and errors, and atproto-crates validates against copies of them crates.

Table A.1 · Who calls whom#
AppSyncerSpace hostRepo hostPDS
getDelegationTokenOAuth read
authorizeSpaceSynctokens in body
listWriterscredential
getRecordcredential · MAC
listRepoOpscredential · MAC
notifyRepoUpdateservice auth

Space host

  1. authorizeSpaceSyncprocedure

    com.atproto.space.authorizeSpaceSync

    Credential, spaceRev, optional notify registration

    Auth none; tokens in body

  2. listWritersquery

    com.atproto.space.listWriters

    Writer set: #repoWrite and #repoRemoved entries

    Auth credential

  3. removeWriterprocedure

    com.atproto.space.removeWriter

    Remove one writer

    Auth OAuth as the authority, manage=update

  4. getSpacequery

    com.atproto.space.getSpace

    Space and its policy

    Auth OAuth as the authority

  5. exportSpaceMetaquery

    com.atproto.space.exportSpaceMeta

    Space meta STAR

    Auth OAuth as the authority

  6. notifyRepoUpdateprocedure

    com.atproto.space.notifyRepoUpdate

    Repo advanced: repoRev, data

    Auth service auth from repo host

  7. putMembersprocedure

    com.atproto.memberspace.putMembers

    Add or replace members

    Auth OAuth as the authority, manage=update

  8. removeMembersprocedure

    com.atproto.memberspace.removeMembers

    Remove members

    Auth OAuth as the authority, manage=update

  9. listMembersquery

    com.atproto.memberspace.listMembers

    List members

    Auth OAuth as the authority

Repo host

  1. getRecordquery

    com.atproto.space.getRecord

    One record

    Auth OAuth or credential; MAC

  2. listRecordsquery

    com.atproto.space.listRecords

    Records, or paths with excludeValues

    Auth OAuth or credential

  3. getBlobquery

    com.atproto.space.getBlob

    One blob

    Auth OAuth or credential

  4. listBlobsquery

    com.atproto.space.listBlobs

    Referenced blob CIDs

    Auth OAuth or credential

  5. getLatestCommitquery

    com.atproto.space.getLatestCommit

    Current commit

    Auth OAuth or credential; MAC

  6. getRepoquery

    com.atproto.space.getRepo

    Whole repo as STAR

    Auth OAuth or credential; MAC

  7. listRepoOpsquery

    com.atproto.space.listRepoOps

    Op log since a rev, commit on every page

    Auth OAuth or credential; MAC

  8. notifyCredentialsRevokedprocedure

    com.atproto.space.notifyCredentialsRevoked

    Revoke credentials by jti

    Auth service auth from authority

User's PDS

  1. getDelegationTokenquery

    com.atproto.space.getDelegationToken

    Mint a delegation token

    Auth OAuth read

PDS

  1. createRecordprocedure

    com.atproto.space.createRecord

    Create in own repo

    Auth OAuth

  2. putRecordprocedure

    com.atproto.space.putRecord

    Create or update

    Auth OAuth

  3. deleteRecordprocedure

    com.atproto.space.deleteRecord

    Delete

    Auth OAuth

  4. applyWritesprocedure

    com.atproto.space.applyWrites

    Atomic batch

    Auth OAuth

  5. clearRecordsprocedure

    com.atproto.space.clearRecords

    Empty own repo

    Auth OAuth

  6. importRepoprocedure

    com.atproto.space.importRepo

    Migration import

    Auth OAuth, create on every collection

  7. listSpacesquery

    com.atproto.space.listSpaces

    Spaces held or owned, with repo state

    Auth OAuth

  8. createSpaceprocedure

    com.atproto.space.createSpace

    Create with a policy

    Auth OAuth manage=create

  9. updateSpaceprocedure

    com.atproto.space.updateSpace

    Replace the policy

    Auth OAuth as the authority, manage=update

  10. deleteSpaceprocedure

    com.atproto.space.deleteSpace

    Delete

    Auth OAuth as the authority, manage=delete

  11. importSpaceMetaprocedure

    com.atproto.space.importSpaceMeta

    Migration import

    Auth OAuth as the authority, manage=create and manage=update

Syncer

  1. notifySpaceUpdateprocedure

    com.atproto.space.notifySpaceUpdate

    A repo write or removal, deletion, or expired registration

    Auth notify token in body

  2. confirmRegistrationprocedure

    com.atproto.space.confirmRegistration

    Echo a challenge to confirm a registration

    Auth notify token in body

Managing app

  1. checkAccessquery

    com.atproto.managedspace.checkAccess

    read and write for one identity

    Auth service auth from authority

Reference

Repo host read methods spec#

  1. com.atproto.space.getLatestCommit
    Parameters
    none
    Returns
    commit
    Auth
    OAuth or credential · GET
    Errors
    + the five repo errors and InvalidSpaceMac
  2. com.atproto.space.getRecord
    Parameters
    collection
    the record's collection
    rkey
    the record's key
    Returns
    uri, cid, value
    Auth
    OAuth or credential · GET
    Errors
    RecordNotFound+ the five repo errors and InvalidSpaceMac
  3. com.atproto.space.listRecords
    Parameters
    collectionoptional
    one collection, or all
    limit
    1–1000, default 50
    cursoroptional
    from the previous page
    excludeValuesoptional
    include only paths
    Returns
    records of {collection, rkey, cid, value?}, cursor?
    Auth
    OAuth or credential · GET
    Errors
    InvalidCursor+ the five repo errors
  4. com.atproto.space.listRepoOps
    Parameters
    sinceoptional
    the rev to list ops after
    limit
    1–1000, default 100
    cursoroptional
    from the previous page
    excludeValuesoptional
    ops without their record values
    Returns
    ops, commit, cursor?
    Auth
    OAuth or credential · GET
    Errors
    InvalidCursor+ the five repo errors and InvalidSpaceMac
  5. com.atproto.space.getRepo
    Parameters
    none
    Returns
    STAR body
    Auth
    OAuth or credential · GET
    Errors
    + the five repo errors and InvalidSpaceMac
  6. com.atproto.space.listBlobs
    Parameters
    limit
    1–1000, default 500
    cursoroptional
    from the previous page
    Returns
    cids, cursor?
    Auth
    OAuth or credential · GET
    Errors
    + the five repo errors
  7. com.atproto.space.getBlob
    Parameters
    cid
    the blob's CID
    Returns
    the blob as uploaded
    Auth
    OAuth or credential · GET
    Errors
    BlobNotFound+ the five repo errors

All of them declare SpaceNotFound, RepoNotFound, RepoTakendown, RepoSuspended, and RepoDeactivated. The MAC’d methods add InvalidSpaceMac, getRecord adds RecordNotFound, getBlob adds BlobNotFound, and listRecords and listRepoOps add InvalidCursor spec. Without collection, listRecords lists every collection.

Records and shared object definitions spec:

Table A.2 · Records and shared definitions#
NSIDKindRecord keyFields
com.atproto.space.defs#commitobjectnonever, repo, space, rev, data
com.atproto.space.defs#repoWriteobjectnonerepo, repoRev, data, spaceRev, prevSpaceRev?
com.atproto.space.defs#repoRemovedobjectnonerepo, spaceRev, prevSpaceRev?
com.atproto.space.policyrecordselfpolicy
com.atproto.personalspace.policyobjectnonenone
com.atproto.memberspace.policyobjectnonepublicRead?, publicWrite?, allowedApps?, publishPolicy?, publishMembers?
com.atproto.memberspace.defs#memberobjectnonedid, read, write
com.atproto.memberspace.memberrecordthe member’s DIDread, write
com.atproto.managedspace.policyobjectnonemanagingApp, publishPolicy?
com.atproto.label.recordrecordTIDuri, cid?, val, cts, exp?

Spaces reuse com.atproto.sync.subscribeRepos unchanged for the #account and #identity events that carry account status and key changes spec. Records inside a space can still point at each other with a com.atproto.repo.strongRef, as the RSVP’s subject does.

Appendix A · AT Protocol Spaces: A Field Guide

Search