# states on PATCH /update-retell-llm/{} stops working

Calls to PATCH /update-retell-llm/{id}, body parameter states on Retell AI API stop working on February 1, 2027.

On February 1, 2027, the states body parameter on PATCH /update-retell-llm/{id} will stop working as Retell retires multi-prompt agents in favor of conversation flow. Requests sent to this endpoint with this parameter after that date will fail.

## What to use instead

Edit the agent as a conversation flow with PATCH /update-conversation-flow/{conversation_flow_id} instead. Because multi-prompt agents have no direct API equivalent, rebuilding an agent as a conversation flow changes how it handles calls and requires testing.

Multi-prompt agents have no direct API equivalent: rebuilding one as a conversation flow changes how it handles calls and needs testing.

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

## Retell AI API's words

> Retell is retiring multi-prompt agents in favor of conversation flow. New multi-prompt creation ends on 12/15/2026, and editing ends on 02/01/2027.

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