---
title: "Get Commit"
method: GET
path: "/snapshots/{snapshot_id}/commits/{sha}"
tags: ["git"]
---

# Get Commit

`GET /snapshots/{snapshot_id}/commits/{sha}`

Single commit with its repo-relative banding + per-feature risk-driver
breakdown (the drivers are serialized by the indexer).

## Path parameters

- `snapshot_id` string, required
- `sha` string, required

## Response `200`

Successful Response

- CommitDetailEntry
  - `sha` string, required
  - `short_sha` string, required
  - `author_name` string
  - `author_email` string
  - `committed_at` string, nullable
  - `subject` string
  - `lines_added` integer
  - `lines_deleted` integer
  - `files_changed` integer
  - `dirs_changed` integer
  - `subsystems_changed` integer
  - `entropy` number
  - `is_fix` boolean
  - `change_risk_score` number, nullable
  - `change_risk_level` string, nullable
  - `risk_percentile` number
  - `review_priority` 'low' | 'moderate' | 'high'
  - `top_driver` string, nullable
  - `author_experience` integer, nullable
  - `author_commit_count` integer, nullable
  - `agent_name` string, nullable
  - `agent_autonomy_tier` integer, nullable
  - `agent_confidence` string, nullable
  - `drivers` RiskDriverEntry[]
    - `feature` string, required
    - `value` number, nullable
    - `contribution` number, required
    - `label` string, required
  - `agent_channel` string, 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.dev/repowise/apis/repowise-hosted-api/revisions/ab200f4d1489?raw)
