---
title: "Save Agent Project Markdown"
method: POST
path: "/api/projects/{project_uuid}/context/markdown"
tags: ["agent-project-context"]
---

# Save Agent Project Markdown

`POST /api/projects/{project_uuid}/context/markdown`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/projects/{project_uuid}/context/markdown`
- Auth: HTTP bearer

Save a new agent context markdown version (M2M / agent writers).

Stored as ``source='agent'`` on ``project_markdown_versions``. Never writes
``projects.description`` and never uses ``source='human'`` (that stream is
the Project Description panel).

## Path parameters

- `project_uuid` string, uuid, required

## Request body

- MarkdownCreate
  - `content` string

## Response `200`

Successful Response

- AgentMarkdownSaveResponse
  - `saved` boolean
  - `version_uuid` string, uuid4, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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