logoalt Hacker News

sockbottoday at 5:14 PM1 replyview on HN

no the advantage of graphql is that the caller can limit the response to only the information that they need. in a REST API the caller has to filter out the extraneous information. using LLMs to do the filtering uses up context window


Replies

CharlieDigitaltoday at 5:29 PM

This is not fully true.

Most agents will use curl | jq to slice what they need (assuming a known API)

show 1 reply