---
title: "Initialize a selected folder as a Git repository with an initial commit"
method: POST
path: "/api/v1/projects/initialize"
tags: ["projects"]
---

# Initialize a selected folder as a Git repository with an initial commit

`POST /api/v1/projects/initialize`

## Request body

- InitializeRepositoryInput
  - `path` string, required

## Response `200`

OK

- InitializeRepositoryResult
  - `path` string, required

## Other responses

- `400` — Bad Request
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.net/composiohq/apis/agent-orchestrator-http-daemon.md) · [All operations](https://skmtc.net/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/composiohq/agent-orchestrator-http-daemon/versions/be069344383f/schema)
