A recent LinkedIn post sparked an interesting thought. The author claimed:

"ReSTful APIs may be dead soon. Instead, web services may expose a single POST entry point for a prompt. Internally, an AI agent may decide how to interpret it and what to do with the data and the database."

Let's peel back the layers to understand why this seemingly provocative, yet intuitive, claim deserves a second look, and why the reality of implementing it might be a double-edged sword.

APIs and the Human In The Loop (HITL)

To understand why ReST might die, we have to look at what an API actually is. APIs are strict, unforgiving contracts. The data that goes into them must adhere to that contract precisely. Because humans are naturally messy and imprecise, we require a Human In The Loop (HITL) to act as a gatekeeper, sanitizing and formatting our intent into machine-readable structures.