---
title: "Get Team Ownership"
method: GET
path: "/teams/{team_id}/insights/ownership"
tags: ["teams-insights"]
---

# Get Team Ownership

`GET /teams/{team_id}/insights/ownership`

## Request

- Base URL: `https://api.repowise.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.repowise.dev/teams/{team_id}/insights/ownership`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/repowise/apis/repowise-hosted-api/docs/teams/:team_id/insights/ownership/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `team_id` string, required

## Response `200`

Successful Response

- TeamOwnershipResponse
  - `rollup` TeamOwnershipRollup, required
    - `team_id` string, required
    - `repo_count` integer
    - `repos_analyzed` integer
    - `total_owners` integer
    - `bus_factor_risk_file_count` integer
    - `bus_factor_heuristic` string
  - `top_owners` TeamOwnerEntry[], required
    - `key` string, required
    - `name` string, required
    - `email` string, nullable
    - `files_owned` integer
    - `hotspots_owned` integer
    - `bus_factor_risk_files` integer
    - `commit_count_90d` integer, nullable
    - `silo_modules` integer
    - `repos_touched` integer
    - `last_commit_at` string, date-time, nullable
  - `bus_factor_files` TeamBusFactorFile[], required
    - `repo_name` string, required
    - `file_path` string, required
    - `primary_owner_name` string, nullable
    - `bus_factor` integer
    - `is_hotspot` boolean
    - `churn_percentile` number

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-30** `a814305b59f4`: 1 breaking, 1 info
  - response property `top_owners/items/commit_count_90d` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - the `commit_count_90d` response's property default value `0` was removed for the status `200`

[Operation history](https://skmtc.dev/repowise/apis/repowise-hosted-api/changes/teams/:team_id/insights/ownership/get.md)

---

[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/3037f631a606?raw)
