---
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

## Changes

- **2026-07-10** `706d124b07f1` — 1 info
  - endpoint added
- **2026-06-10** `b64f5ab46d87` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/projects/initialize/post.md)

---

[API](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon.md) · [All operations](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/composiohq/agent-orchestrator-http-daemon/revisions/09f65272fe44/schema)
