blue.microcosm.repo.getRecordByUri
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get a single record from a repository by at-uri",
"errors": [
{
"name": "RecordNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
},
"value": {
"type": "unknown"
}
},
"required": [
"uri",
"value"
],
"type": "object"
}
},
"parameters": {
"properties": {
"at_uri": {
"description": "The at-uri of the record. The identifier can be a DID or an atproto handle. The collection and rkey segments must be present.",
"format": "at-uri",
"type": "string"
},
"cid": {
"description": "The CID of the version of the record. If not specified, then return the most recent version. If specified and a newer version of the record exists, returns 404 not found.",
"format": "cid",
"type": "string"
}
},
"required": [
"at_uri"
],
"type": "params"
},
"type": "query"
}
},
"id": "blue.microcosm.repo.getRecordByUri",
"lexicon": 1
}
Metadata
- DID
-
did:plc:lulmyldiq4sb2ikags5sfb25 - CID
-
bafyreig7acznpyuipajxm3ztvb3gznahgie32g365ztxefuux4pmy6xf6i - Indexed At
- 2026-07-26 20:11 UTC
- AT-URI
-
at://did:plc:lulmyldiq4sb2ikags5sfb25/com.atproto.lexicon.schema/blue.microcosm.repo.getRecordByUri
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
ergonomic complement to com.atproto.repo.getRecord which accepts an at-uri instead of individual repo/collection/rkey params
-
Get a single record from a repository. Does not require auth.
-
Hydrate a single record by URI. Returns the record if viewer has boundary access.
-
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…