---
title: "Register a new project from a git repository path"
method: POST
path: "/api/v1/projects"
tags: ["projects"]
---

# Register a new project from a git repository path

`POST /api/v1/projects`

## Request body

- AddProjectInput
  - `asWorkspace` boolean
  - `clonePreparationId` string
  - `config` ProjectConfig
    - `agentConfig` AgentConfig
      - `effort` string
      - `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
        - `effort` string
        - `mode` string
        - `model` string
        - `permissions` string
    - `orchestratorRules` string
    - `postCreate` string[]
    - `reviewers` DomainReviewerConfig[]
      - `agentConfig` AgentConfig
        - `effort` string
        - `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
        - `effort` string
        - `mode` string
        - `model` string
        - `permissions` string
  - `name` string, nullable
  - `path` string, required
  - `projectId` string, nullable

## Response `201`

Created

- ProjectResponse
  - `project` Project, required
    - `agent` string
    - `config` ProjectConfig
      - `agentConfig` AgentConfig
        - `effort` string
        - `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
          - `effort` string
          - `mode` string
          - `model` string
          - `permissions` string
      - `orchestratorRules` string
      - `postCreate` string[]
      - `reviewers` DomainReviewerConfig[]
        - `agentConfig` AgentConfig
          - `effort` string
          - `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
          - `effort` string
          - `mode` string
          - `model` string
          - `permissions` string
    - `defaultBranch` string, required
    - `folderMissing` boolean, required
    - `id` string, required
    - `kind` 'single_repo' | 'workspace' | 'scratch', required
    - `name` string, required
    - `path` string, required
    - `repo` string, required
    - `workspaceRepos` WorkspaceRepo[]
      - `gitStatus` string
      - `name` string, required
      - `relativePath` string, required
      - `repo` string, required

## Other responses

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

## Changes

- **2026-09-15** `44477babb334` — 8 info
  - added the new optional request property `config/agentConfig/effort`
  - added the new optional request property `config/orchestrator/agentConfig/effort`
  - added the new optional request property `config/reviewers/items/agentConfig/effort`
  - added the new optional request property `config/worker/agentConfig/effort`
  - …4 more
- **2026-09-08** `d845c1687d74` — 1 info
  - added the new optional request property `clonePreparationId`
- **2026-09-05** `88f0633f1ef4` — 2 info
  - added the new optional request property `config/canonicalRepoURL`
  - added the optional property `project/config/canonicalRepoURL` to the response with the `201` status
- **2026-09-04** `9d68955a2566` — 1 info
  - added the required property `project/folderMissing` to the response with the `201` status
- **2026-09-03** `d31a2d019c47` — 3 info
  - added the optional property `reporting_owner` to the response with the `400` status
  - added the optional property `reporting_owner` to the response with the `409` status
  - added the optional property `reporting_owner` to the response with the `500` status

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