---
title: "Patch Agent Instructions"
method: PATCH
path: "/projects/{project_id}/agent-instructions"
---

# Patch Agent Instructions

`PATCH /projects/{project_id}/agent-instructions`

## Request

- Base URL: `https://usemeridian.us` (the document declares no server; this is the origin it was published from)
- URL: `https://usemeridian.us/projects/{project_id}/agent-instructions`
- Auth: none declared

Set or clear agent_instructions. Pass null to reset to server defaults.

acc7e504 -- mirrors the same best-effort content scan wired into the
set_agent_instructions MCP tool (mcp/handlers/session_tools.py): both are
write paths for a field start_session/checkpoint echo verbatim into every
future session, and pkg_install_guard.check_agent_instructions was built
for exactly this content but previously ran only in its own unit tests.
Non-blocking -- a finding surfaces as ``content_warnings``, the write is
never rejected on this heuristic alone.

## Path parameters

- `project_id` string, required

## Request body

- object

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usemeridian/apis/meridian.md) · [All operations](https://skmtc.dev/usemeridian/apis/meridian/llms.txt) · [OpenAPI document](https://skmtc.dev/usemeridian/apis/meridian/revisions/f37a894bd374?raw)
