# states on POST /create-retell-llm stops working

Calls to POST /create-retell-llm, body parameter states on Retell AI API stop working on December 15, 2026.

On December 15, 2026, Retell AI API will remove support for the body parameter states on POST /create-retell-llm. Calls sending this parameter will fail after that day. Retell AI API is retiring multi-prompt agents in favor of conversation flow.

## What to use instead

Build the agent as a conversation flow with POST /create-conversation-flow instead of a multi-prompt Retell LLM. Multi-prompt agents have no direct API equivalent, so rebuilding one 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: December 15, 2026
- Calls after that day: fail
- Calls it hits: `POST /create-retell-llm`, `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-post-create-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
