---
title: "Fetches repositories"
method: GET
path: "/api/codify/repos"
tags: ["Codification"]
---

# Fetches repositories

`GET /api/codify/repos`

Fetches repositories that contain terraform modules

## Query parameters

- `resourceTypes` string[], required

## Response `200`

Successfully retrieved module repos

- object[]
  - `key` object
    - `repoFullName` string — The full name of the repository
    - `vcsType` string — The VCS where this repository is located (e.g. github, gitlab, bitbucket)
    - `isPublic` boolean — Whether the repository is public or private
  - `doc_count` integer — The number of modules for the given asset types in the repository

## Other responses

- `400` — Bad Request Error
- `401` — Unauthorized Error
- `403` — Insufficient permissions
- `500` — Internal Server Error

---

[API](https://skmtc.net/firefly/apis/api-gateway.md) · [All operations](https://skmtc.net/firefly/apis/api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/firefly/api-gateway/revisions/eea119b4113f/schema)
