
Listen to this summary
Rooms on this
- US Deskno replies yet · 1 here · Open room
- Anime Shelfno replies yet · 1 here · Open room
- Europe Deskno replies yet · 1 here · Open room
- Oceania Deskno replies yet · 1 here · Open room
- Africa Deskno replies yet · 1 here · Open room
- South Asia Deskno replies yet · 1 here · Open room
- Asia Pacific Deskno replies yet · 1 here · Open room
- Shelf booksno replies yet · 1 here · Open room
- All 17 rooms
In these rooms
Do AI coding agents struggle with non-REST APIs?
Plenty of APIs skip REST conventions. Some send every write over POST, and some name every endpoint after an action, like /updateBin or /deleteBin. On paper, agents should have a harder time with those. REST maps the intent onto the HTTP method, so changing a record is a PATCH and removing it is a DELETE. In comparison, an RPC-style API makes the agent work out what each endpoint is called and what it does. We expected that to cost agents something, either in failed tasks or in extra calls and tokens.
It didn’t, at least when the agent had the docs. Across 1,356 runs with six models from two vendors, agents succeeded just as often with REST, POST-only and RPC-style APIs, at the same cost in failed calls and tokens. Without docs, REST won by a wide margin, because agents can guess REST URLs from convention and have no way to guess what a non-REST API calls its endpoints.
Microsoft for Developers microsoft.com
More ways to use this
Open on another device
Scan to open this page. Your saved notes and account access are not included.