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

com.atproto.sync.getLatestCommit

atproto-lexicons.bsky.social

Documentation

main query

Get the current commit CID & revision of the specified repo. Does not require auth.

Parameters

did string did Required

The DID of the repo.

Output

Encodingapplication/json
cid stringcid Required

A content identifier (CID) referencing immutable data.

rev stringtid Required

A timestamp-based identifier (TID).

Errors

RepoNotFound
RepoTakendown
RepoSuspended
RepoDeactivated
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": "RepoNotFound"
    },
    {
      "name": "RepoTakendown"
    },
    {
      "name": "RepoSuspended"
    },
    {
      "name": "RepoDeactivated"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "cid",
        "rev"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "rev": {
          "type": "string",
          "format": "tid"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "did"
    ],
    "properties": {
      "did": {
        "type": "string",
        "format": "did",
        "description": "The DID of the repo."
      }
    }
  },
  "description": "Get the current commit CID & revision of the specified repo. Does not require auth."
}

Lexicon Garden

@