---
title: "List repos with optional filters"
method: GET
path: "/api/repos"
tags: ["Repos"]
---

# List repos with optional filters

`GET /api/repos`

## Query parameters

- `autoClone` 'true' | 'false'
- `name` string

## Response `200`

List of repos

- object
  - `repos` SwarmRepo[], required
    - `id` string, uuid, required
    - `url` string, required
    - `name` string, required
    - `clonePath` string, required
    - `defaultBranch` string
    - `autoClone` boolean
    - `hooks` RepoHooks
      - `enabled` boolean
    - `guidelines` RepoGuidelines, nullable
      - `prChecks` string[], required
      - `mergeChecks` string[], required
      - `allowMerge` boolean
      - `review` string[], required
    - `createdAt` string, required
    - `lastUpdatedAt` string, required

---

[API](https://skmtc.net/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.net/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/versions/ef761849166b/schema)
