Backfill in-progress. Some lexicons and records may be missing or incomplete.

com.atproto.sync.getHead

atproto-lexicons.bsky.social

Documentation

main query

DEPRECATED - please use com.atproto.sync.getLatestCommit instead

Parameters

did string did Required

The DID of the repo.

Output

Encodingapplication/json
root stringcid Required

A content identifier (CID) referencing immutable data.

Errors

HeadNotFound
Try It

Direct PDS XRPC methods (com.atproto.*) are disabled in Try It for security reasons.

These methods interact directly with Personal Data Servers and require careful handling. Use a dedicated client or CLI tool instead.
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "HeadNotFound"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "root"
      ],
      "properties": {
        "root": {
          "type": "string",
          "format": "cid"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "did"
    ],
    "properties": {
      "did": {
        "type": "string",
        "format": "did",
        "description": "The DID of the repo."
      }
    }
  },
  "description": "DEPRECATED - please use com.atproto.sync.getLatestCommit instead"
}

Lexicon Garden

@