A single API call is stateless — Claude remembers nothing between calls. A chatbot must keep track of the conversation history itself and send it with every API call. This is the most important concept to understand for chatbot development.
All good is now coming to me, and I receive it with gratitude.— Florence Scovel Shinn
Test yourself — completely optional, but fun! 🎯
Question 1 of 3
Why must a chatbot send the full conversation history in every API call?
Question 2 of 3
Where should communication with the Anthropic API always happen?
Question 3 of 3
How many message rounds should you typically keep in the history?