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

# Create a project

`POST /api/v1/context/projects`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/context/projects`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Creates a session-memory project. Supports the additive landmines[] slot.

## Request body

- object: Create a session-memory project (with optional landmines[]).
  - `project_name` string, required
  - `description` string
  - `goals` string[]
  - `current_status` string
  - `current_task` string
  - `open_questions` string[]
  - `tech_stack` string[]
  - `recent_decisions` object[]
    - `summary` string, required
    - `decided_at` string, date-time, required
  - `landmines` object[]: LANDMINE slot — sharp watch-outs. Object entries so per-item trust works.
    - `summary` string, required
    - `paths` string[]
    - `added_at` string, date-time
    - `importance` 'low' | 'normal' | 'high' | 'critical'

## Response `201`

Project created

- object: A single project record.
  - `project` ProjectSummary, required: A project record.
    - `project_id` string, required
    - `project_name` string, required
    - `updated_at` string
    - `context` unknown

## Other responses

- `400`: Invalid payload

---

[API](https://skmtc.dev/deerdawn/apis/deerdawn-session-memory-api.md) · [All operations](https://skmtc.dev/deerdawn/apis/deerdawn-session-memory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/deerdawn/apis/deerdawn-session-memory-api/revisions/002b48818bf9?raw)
