---
title: "Get Latest Snapshot"
method: GET
path: "/repos/{owner}/{name}/latest"
tags: ["repos"]
---

# Get Latest Snapshot

`GET /repos/{owner}/{name}/latest`

Return the latest ready snapshot for a public repo (no auth required).

Anonymous callers get the same payload minus the ownership answer:
``can_write`` is false for them, which is true.

"Public repo" is enforced, not assumed: private repos are readable only by
a caller with a relationship to them (owner, library link, or team share),
and 404 rather than 403 for everyone else, matching the anti-enumeration
convention in ``snapshots.py``.

## Path parameters

- `owner` string, required
- `name` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc.dev/repowise/apis/repowise-hosted-api/revisions/29a9df53f763?raw)
