---
title: "Get repository capacity usage"
method: GET
path: "/repos/capacity"
tags: ["Repos"]
---

# Get repository capacity usage

`GET /repos/capacity`

## Request

- Base URL: `https://api.sazabi.com/v1`
- URL: `https://api.sazabi.com/v1/repos/capacity`
- Auth: none declared

Organization-wide distinct repository usage and repositories only mapped to this project. Requires settings write permission; removing an exclusive mapping releases one slot.

## Query parameters

- `projectId` string, uuid: Project to list repositories for. Auto-filled from CLI and SDK context when omitted.

## Response `200`

OK

- object
  - `current` integer, required
  - `countedRepoIds` string[], required
  - `exclusivelyMappedRepoIds` string[], required

## Changes

- **2026-10-08** `ce96861cea60`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sazabi/apis/sazabi-public-api/changes/repos/capacity/get.md)

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) - [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sazabi/apis/sazabi-public-api/revisions/965b6230cf45?raw)
