zone.stratos.space.getRecord

lexicon.northsky.app

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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).",
      "errors": [
        {
          "description": "The record does not exist in the requested space (or does not exist at all - indistinguishable by design).",
          "name": "RecordNotFound"
        },
        {
          "description": "The requested space URI is malformed or its space DID does not match this service's DID.",
          "name": "UnknownSpace"
        },
        {
          "description": "The caller is not admitted to the requested space (not a member, or the presented credential targets a different space).",
          "name": "AuthRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            },
            "value": {
              "type": "unknown"
            }
          },
          "required": [
            "uri",
            "cid",
            "value"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "collection": {
            "description": "The NSID of the record collection.",
            "format": "nsid",
            "type": "string"
          },
          "repo": {
            "description": "The DID of the account whose repo to read from.",
            "format": "did",
            "type": "string"
          },
          "rkey": {
            "description": "The Record Key.",
            "maxLength": 512,
            "type": "string"
          },
          "space": {
            "description": "The space's at:// URI (at://{did}/space/{type}/{skey}). Mirrors the upstream space-ref string format (atproto#5187); declared as a plain string until @atproto/lexicon supports that format. Its space DID must equal this service's DID.",
            "type": "string"
          }
        },
        "required": [
          "space",
          "repo",
          "collection",
          "rkey"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "zone.stratos.space.getRecord",
  "lexicon": 1
}

Validate Record

Validate a record against zone.stratos.space.getRecord

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:6uxgo3ypovauub7nblwylqyv
CID
bafyreiaiawrpxxp6nt62vrx3ay2kwqidemjtkcgbub7ld2jfslyowq52m4
Indexed At
2026-08-26 09:04 UTC
AT-URI
at://did:plc:6uxgo3ypovauub7nblwylqyv/com.atproto.lexicon.schema/zone.stratos.space.getRecord

Similar Lexicons

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

Lexicon Garden

@