---
title: "Add Github Repo"
method: POST
path: "/api/databases/{database_id}/github/app/repos"
tags: ["github"]
---

# Add Github Repo

`POST /api/databases/{database_id}/github/app/repos`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/databases/{database_id}/github/app/repos`
- Auth: none declared

Add a repository to the database's GitHub integration.

## Path parameters

- `database_id` string, uuid, required

## Cookies

- `session` string, nullable

## Request body

- GithubRepoAdd
  - `owner` string, required
  - `name` string, required
  - `default_branch` string

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
