---
title: "Create a project"
method: POST
path: "/api/v1/projects"
tags: ["Projects"]
---

# Create a project

`POST /api/v1/projects`

## Request

- Base URL: `https://app.khotan.com`
- URL: `https://app.khotan.com/api/v1/projects`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Creates a project and its single root goal node. The slug is derived from the name when omitted and must be unique among the organization's live projects.

## Request body

- object
  - `name` string, required
  - `slug` string: Derived from the name when omitted; conflicts return 409.
  - `description` string, nullable

## Response `201`

The created project.

- object
  - `id` string, required
  - `slug` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `lifecycle` string, required
  - `linearProjectId` string, nullable, required
  - `latestSpecRevision` number, required
  - `memberCount` number, required
  - `tags` string[], required
  - `createdAt` string, required
  - `updatedAt` string, required

## Other responses

- `401`: Authentication is missing or invalid.
- `403`: The caller is not permitted to perform this action.
- `409`: Response.
- `422`: Response.
- `429`: Too many requests; retry after the indicated delay.

---

[API](https://skmtc.dev/khotan/apis/khotan-api.md) - [All operations](https://skmtc.dev/khotan/apis/khotan-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khotan/apis/khotan-api/revisions/90b512a53e42?raw)
