---
title: "Create a Repository Connection."
method: POST
path: "/v1/repositories"
tags: ["Repository", "Repository-Lifecycle"]
---

# Create a Repository Connection.

`POST /v1/repositories`

Create a connection to a Github Repository and trigger an initial inspection of the repo's technical stack and developer environment requirements.

## Request body

- RepositoryCreateParameters
  - `name` string, required — Name of the repository.
  - `owner` string, required — Account owner of the repository.
  - `github_auth_token` string, nullable — GitHub authentication token for accessing private repositories.
  - `blueprint_id` string, nullable — ID of blueprint to use as base for resulting RepositoryVersion blueprint.

## Response `200`

OK

- RepositoryConnectionView — The ID of the Repository.
  - `id` string, required — The ID of the Repository.
  - `name` string, required — The name of the Repository.
  - `owner` string, required — The account owner of the Repository.

---

[API](https://skmtc.dev/runloopai/apis/runloop-api.md) · [All operations](https://skmtc.dev/runloopai/apis/runloop-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runloopai/runloop-api/revisions/c8d61a0c8b88/schema)
