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

# Get Commits

`GET /snapshots/{snapshot_id}/commits`

Per-commit change-risk feed — the review-priority queue.

``sort=risk`` (default) orders by raw change-risk descending; ``sort=date``
by commit time descending. Banding is repo-relative regardless of sort.
``authorship`` narrows to agent-attributed (``agent``) or human-only
(``human``) commits; the percentile normalizer is still anchored to the
full distribution so bands stay comparable across filters.
Empty for snapshots indexed before repowise 0.15.0.

## Path parameters

- `snapshot_id` string, required

## Query parameters

- `sort` string
- `authorship` string
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- PaginatedCommitEntry
  - `items` CommitEntry[], required
    - `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
  - `total` integer, required
  - `has_more` boolean, required
  - `next_offset` integer, 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/40167ba9ab58/schema)
