Skip to content

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

GET
/xrpc/com.atproto.repo.getRecord
repo
required

The handle or DID of the repo.

string format: at-identifier

The handle or DID of the repo.

collection
required

The NSID of the record collection.

string format: nsid

The NSID of the record collection.

rkey
required

The Record Key.

string format: record-key

The Record Key.

cid

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

string format: cid

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

Success

object
uri
required
string format: uri
cid
string format: cid
value
required

Bad Request

object
error
required
One of:
string
message
required
string