com.atproto.repo.getRecord

Get a single record from a repository. Does not require auth.

Details · query
Kindquery
Authorityrepo.atproto.com
Indexed

Query

query · GET

Parameters

query string

cid

string · cid

The CID of the version of the record. If not specified, then return the most recent version.

collection

requiredstring · nsid

The NSID of the record collection.

repo

requiredstring · at-identifier

The handle or DID of the repo.

rkey

requiredstring · record-key

The Record Key.

Output

application/json

cid

string · cid

uri

requiredstring · at-uri

value

requiredunknown

Errors

RecordNotFound

No description in schema.

Similar lexicons

semantic match

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

  • Get a single record from a repository by at-uri

  • ergonomic complement to com.atproto.repo.getRecord which accepts an at-uri instead of individual repo/collection/rkey params

  • Get data blocks needed to prove the existence or non-existence of record in the current version of repo. Does not require auth.

  • Get a single record from a permissioned space. Spec-shaped mirror of com.atproto.space.getRecord (atproto#5187): callable with standard user auth (the caller must be a member of the space) or with a space credential for that space (for syncing services). The record must belong to the requested space; records outside it - including records with no space at all - resolve to RecordNotFound (no existence leak).

  • List a range of records in a repository, matching a specific collection. Does not require auth.