---
title: "Connect Project"
method: POST
path: "/projects/connect"
tags: ["projects"]
---

# Connect Project

`POST /projects/connect`

## Request

- Base URL: `https://hokmah.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://hokmah.dev/projects/connect`
- Auth: none declared

Initialize VPM graph for a project by ingesting its git history.

## Request body

- ConnectRequest
  - `repo` string, required
  - `github_token` string, required
  - `tenant_id` string, required

## Response `200`

Successful Response

- ConnectResponse
  - `status` string, required
  - `project_id` string, required
  - `commits_ingested` integer, required
  - `transitions` integer, required
  - `files_indexed` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/hokmah/apis/vpm-api.md) · [All operations](https://skmtc.dev/hokmah/apis/vpm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hokmah/apis/vpm-api/revisions/881edbbedcf8?raw)
