git

Get Commit Stats

Repo-wide commit stat cards: total commits, high-priority (top repo-relative risk tercile) count, fix commits, agent commits, and average change entropy. Computed over the whole git_commits.json feed so the headline cards don't under-count off a paged list.

Declared before /commits/{sha} so the literal path wins over the SHA wildcard.

get/snapshots/{snapshot_id}/commits/stats

Path parameters

snapshot_idstring required

Response

Successful Response

total_commitsinteger
high_priority_countinteger
fix_commit_countinteger
agent_commit_countinteger
avg_entropynumber
moderate_cutnumber nullable
high_cutnumber nullable

Changes