---
title: "Update a prompt feedback entry"
method: PATCH
path: "/v3/ai-agents/{agent_id}/prompt-feedback/{feedback_id}"
tags: ["v3", "prompt-feedback"]
---

# Update a prompt feedback entry

`PATCH /v3/ai-agents/{agent_id}/prompt-feedback/{feedback_id}`

## Request

- Base URL: `https://api.mentium.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mentium.io/v3/ai-agents/{agent_id}/prompt-feedback/{feedback_id}`
- Auth: HTTP bearer

## Path parameters

- `agent_id` string, uuid, required
- `feedback_id` string, uuid, required

## Headers

- `mentium-workspace-id` string, nullable

## Request body

- PromptFeedbackUpdate
  - `feedback_text` string, required: Updated feedback text

## Response `200`

Successful Response

- PromptFeedbackResponse
  - `id` string, required
  - `agent_id` string, required
  - `phone_call_id` string, nullable, required
  - `ai_agent_session_id` string, nullable, required
  - `feedback_text` string, required
  - `transcript_excerpt` PromptFeedbackTranscriptTurn[], required
    - `role` 'agent' | 'user', required
    - `message` string, required
  - `system_prompt_snapshot` string, required
  - `user_prompt_snapshot` string, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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