# analysis_summary_prompt on PATCH /update-chat-agent/{} stops working

Calls to PATCH /update-chat-agent/{id}, body parameter analysis_summary_prompt on Retell AI API stopped working on June 15, 2026.

On June 15, 2026, Retell AI API removed the body parameter analysis_summary_prompt from the endpoint PATCH /update-chat-agent/{id}. Calls that include this parameter fail since that date. Retell AI API removed this prompt field alongside other legacy prompt fields.

## What to use instead

Add a system preset item to post_chat_analysis_data with type system-presets, name chat_summary, and description set to your prompt instead.

- API: Retell AI API (api.retellai.com)
- Kind: Parameter removal
- Takes effect: June 15, 2026
- Calls after that day: fail
- Calls it hits: `PATCH /update-chat-agent/{id}`, `body parameter analysis_summary_prompt`
- Source: [Announcement](https://docs.retellai.com/deprecation-notice/2026/06-15_legacy_list_endpoints)
- Verified: November 6, 2026, against Retell AI API's own pages
- Page: https://www.okapi.bot/providers/retell-ai-api/breaking-changes/analysis-summary-prompt-on-patch-update-chat-agent-stops-working/

## Retell AI API's words

> 1. The three prompt fields above will be removed from the API.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
