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

# Get Team Ownership

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

## 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
    - `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

---

[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/491affc1d3e7?raw)
