---
title: "GET /api/v1/organizations/{org_slug}/repos"
method: GET
path: "/api/v1/organizations/{org_slug}/repos"
tags: ["organizations"]
---

# GET /api/v1/organizations/{org_slug}/repos

`GET /api/v1/organizations/{org_slug}/repos`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/organizations/{org_slug}/repos`
- Auth: HTTP bearer

## Path parameters

- `org_slug` string, required

## Query parameters

- `q` string
- `sort` 'name' | 'github'
- `direction` 'asc' | 'desc'
- `page` integer

## Response `200`

Paginated workspace Repo inventory

- object
  - `repos` object[], required
    - `id` string, required: Virtual repository public ID for non-Home rows; Home uses the physical repository public ID.
    - `slug` string, required
    - `name` string, required
    - `icon_name` string, required
    - `github_repository` string, nullable, required
    - `sync_provider` 'none' | 'github' | 'git' | 'gitlab'
    - `remote_repository` string, nullable
    - `sync_status` 'none' | 'importing' | 'syncing' | 'failed' | 'ready', required
    - `sync_error_message` string, nullable, required
    - `can_retry_sync` boolean, required: True when the latest sync run failed and can be retried.
    - `can_retry_import` boolean, required: True when a failed client import can be requeued for CLI resume.
    - `import_item_id` string, nullable, required
    - `is_home` boolean, required
    - `disclaimer` string, nullable, required
    - `federated_in_home` boolean, required: True when this Space is a folder virtual repository inside the organization Home monorepo. False for Home itself and for standalone physical companions.
    - `root_path` string, nullable, required: Home-relative folder path when federated_in_home is true; null otherwise.
  - `pagination` object, required
    - `page` integer, required
    - `limit` integer, required
    - `count` integer, required
    - `count_label` string, required
    - `last` integer, required
    - `previous` integer, nullable
    - `next` integer, nullable
    - `series` union[], required
      - union
        - integer
        - string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `422`: Unprocessable entity
- `502`: Bad gateway

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
