---
title: "Get Function Blame"
method: GET
path: "/snapshots/{snapshot_id}/function-blame"
tags: ["git"]
---

# Get Function Blame

`GET /snapshots/{snapshot_id}/function-blame`

Per-function blame rollup, hottest (most-modified) first. Optionally
scoped to one file. Empty for snapshots indexed before repowise 0.15.0.

## Path parameters

- `snapshot_id` string, required

## Query parameters

- `file_path` string, nullable
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- PaginatedFunctionBlameEntry
  - `items` FunctionBlameEntry[], required
    - `symbol_id` string, required
    - `file_path` string
    - `function_name` string
    - `start_line` integer
    - `end_line` integer
    - `line_count` integer
    - `mod_count` integer
    - `recent_mod_count` integer
    - `median_author_time` integer, nullable
    - `owner_name` string, nullable
    - `owner_email` string, nullable
    - `owner_line_pct` number, 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/1e57283a9737/schema)
