---
title: "Add Repo"
method: POST
path: "/v1/repos"
---

# Add Repo

`POST /v1/repos`

## Request body

- RepoAddRequest — Single payload for `POST /v1/repos`.
  - `localPath` string, required
  - `name` string, required
  - `targetEnvId` string, nullable
  - `gitRemoteUrl` string, nullable
  - `activeBranch` string, nullable
  - `defaultBranch` string, nullable
  - `envVars` EnvVarInput[]
    - `key` string, required
    - `sourcePath` string, required
    - `value` string, required
    - `isSecret` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/tabtabtab/apis/fastapi.md) · [All operations](https://skmtc.dev/tabtabtab/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tabtabtab/fastapi/revisions/73961d1e6152/schema)
