---
title: "Update Distributor Prompt Settings"
method: PATCH
path: "/api/v1/admin/system-settings/distributor-prompt-settings"
tags: ["Admin APIs", "system-settings"]
---

# Update Distributor Prompt Settings

`PATCH /api/v1/admin/system-settings/distributor-prompt-settings`

Widen or narrow the distributor prompt window. Takes effect on the next
request — the read path resolves this setting per call, so no restart or
redeploy is needed. A visibility cap only: nothing is deleted, and CAMS' own
observability views keep full history.

## Request body

- DistributorPromptSettingsUpdate — Payload to update the distributor prompt window. ``rationale`` is always required.
  - `retention_days` integer, required
  - `rationale` string, required — Required. Why this change is being made (min 3 characters, trimmed).

## Response `200`

Successful Response

- DistributorPromptSettingsRead — How much MCP prompt history the Platform Distributor View surfaces to a distributor. A visibility cap only — nothing is deleted from the warehouse, and CAMS' own observability views are unaffected.
  - `retention_days` SettingFieldInt, required
    - `value` integer, required
    - `updated_at` string, date-time, nullable
    - `updated_by` string, nullable
    - `last_rationale` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api.md) · [All operations](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carbonarc/carbon-arc-client-admin-api/revisions/a8ca30023371/schema)
