---
title: "Clone a project without registering it so Git setup can be completed"
method: POST
path: "/api/v1/projects/clone/prepare"
tags: ["projects"]
---

# Clone a project without registering it so Git setup can be completed

`POST /api/v1/projects/clone/prepare`

## Request body

- CloneProjectInput
  - `config` ProjectConfig
    - `agentConfig` AgentConfig
      - `mode` string
      - `model` string
      - `permissions` string
    - `agentRules` string
    - `agentRulesFile` string
    - `autoReview` boolean
    - `canonicalRepoURL` string
    - `containerReap` ContainerReapConfig
      - `disabled` boolean
    - `defaultBranch` string
    - `env` object
    - `orchestrator` RoleOverride
      - `agent` string
      - `agentConfig` AgentConfig
        - `mode` string
        - `model` string
        - `permissions` string
    - `orchestratorRules` string
    - `postCreate` string[]
    - `reviewers` DomainReviewerConfig[]
      - `agentConfig` AgentConfig
        - `mode` string
        - `model` string
        - `permissions` string
      - `harness` string, required
    - `sessionPrefix` string
    - `symlinks` string[]
    - `trackerIntake` TrackerIntakeConfig
      - `assignee` string
      - `enabled` boolean
      - `provider` 'github' | 'gitlab'
      - `repo` string
    - `worker` RoleOverride
      - `agent` string
      - `agentConfig` AgentConfig
        - `mode` string
        - `model` string
        - `permissions` string
  - `destinationParent` string, required
  - `name` string, nullable
  - `projectId` string, nullable
  - `remoteUrl` string, required

## Response `200`

OK

- ClonePreparationResult
  - `path` string, required
  - `preparationId` string, required
  - `remoteUrl` string, required

## Other responses

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

## Changes

- **2026-09-08** `d845c1687d74` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/projects/clone/prepare/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.dev/composiohq/apis/agent-orchestrator-http-daemon/revisions/d845c1687d74?raw)
