---
title: "Get Snapshot"
method: GET
path: "/snapshots/{snapshot_id}"
tags: ["snapshots"]
---

# Get Snapshot

`GET /snapshots/{snapshot_id}`

## Path parameters

- `snapshot_id` string, required

## Response `200`

Successful Response

- SnapshotResponse
  - `id` string, required
  - `short_id` string, required
  - `repo_id` string, required
  - `head_sha` string, required
  - `commit_depth` integer, nullable
  - `status` 'queued' | 'indexing' | 'ready' | 'failed', required
  - `error_message` string, nullable
  - `file_count` integer, nullable
  - `line_count` integer, nullable
  - `indexing_duration_seconds` integer, nullable
  - `created_at` string, date-time, required
  - `completed_at` string, date-time, nullable
  - `ref` string, nullable
  - `generate_docs` boolean, nullable
  - `docs_file_percentage` number, nullable
  - `wiki_style` string, nullable
  - `docs_language` string, nullable
  - `reaped_at` string, date-time, nullable
  - `superseded_by_short_id` string, nullable
  - `triggered_by_kind` 'user' | 'bot' | 'webhook' | 'poll' | 'admin', nullable
  - `triggered_by_installation_id` integer, nullable
  - `docs_status` string, nullable
  - `docs_pages_ready` integer, nullable
  - `docs_pages_total` integer, nullable
  - `docs_pages_reused` integer, nullable
  - `wiki_format` 'legacy_flat' | 'tree_v1', nullable
  - `reindex_recommended_reason` string, nullable
  - `can_write` boolean, nullable
  - `prose_comped` boolean, nullable

## 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-service-production.skmtc.workers.dev/v1/apis/repowise/repowise-hosted-api/revisions/1e57283a9737/schema)
