---
title: "Post Relevance System Prompt Endpoint"
method: POST
path: "/api/admin/relevance-system-prompt"
tags: ["admin_relevance_prompts"]
---

# Post Relevance System Prompt Endpoint

`POST /api/admin/relevance-system-prompt`

## 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/admin/relevance-system-prompt`
- Auth: HTTP bearer

Overwrite `relevance_agent/system_prompt.md` in the media bucket.

## Request body

- RelevancePromptUpdate
  - `content` string, required

## Response `200`

Successful Response

- RelevanceSystemPrompt
  - `s3_key` string, required
  - `content` string, 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)
