---
title: "Get the current commit CID & revision of the specified repo. Does not require auth."
method: GET
path: "/xrpc/com.atproto.sync.getLatestCommit"
tags: ["com.atproto.sync"]
---

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

`GET /xrpc/com.atproto.sync.getLatestCommit`

## Query parameters

- `did` string, did, required — The DID of the repo.

## Response `200`

Success

- object
  - `cid` string, cid, required
  - `rev` string, tid, required

## Other responses

- `400` — Bad Request

## Changes

- **2026-07-26** `8e2ce7f5d85b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/streamplace/apis/generated-lexicon-api-schema/changes/xrpc/com.atproto.sync.getLatestCommit/get.md)

---

[API](https://skmtc.dev/streamplace/apis/generated-lexicon-api-schema.md) · [All operations](https://skmtc.dev/streamplace/apis/generated-lexicon-api-schema/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/streamplace/generated-lexicon-api-schema/revisions/8e2ce7f5d85b/schema)
