---
title: "Set or clear the per-deployment system prompt"
method: POST
path: "/v1/deployments/{deploymentId}/system-prompt"
tags: ["Deployments"]
---

# Set or clear the per-deployment system prompt

`POST /v1/deployments/{deploymentId}/system-prompt`

## Request

- Base URL: `https://api.auxen.ai`
- URL: `https://api.auxen.ai/v1/deployments/{deploymentId}/system-prompt`
- Auth: HTTP bearer

When set, overrides the account-level default. Empty string or null clears the override.

## Path parameters

- `deploymentId` string, required

## Request body

- object
  - `system_prompt` string, nullable

## Response `200`

OK

---

[API](https://skmtc.dev/auxen/apis/auxen-headless-api.md) · [All operations](https://skmtc.dev/auxen/apis/auxen-headless-api/llms.txt) · [OpenAPI document](https://skmtc.dev/auxen/apis/auxen-headless-api/revisions/164be65f5ce8?raw)
