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

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

On June 15, 2026, Retell AI removed the body parameter analysis_summary_prompt from the endpoint PATCH /update-agent/{id}. Requests sending this parameter fail since that day. This change directly affects any agent updates relying on the legacy prompt field.

## What to use instead

Add a system preset item to post_call_analysis_data instead, setting type to system-presets, name to call_summary, and description to your prompt.

- 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-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-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
