Skip to content
The Docs Report
Friday, November 27, 2026NewsletterRSS

Kapa.ai Put an Endpoint in llms.txt, and Agents Sent 30,000 Queries

Kapa.ai listed a query endpoint only in llms.txt on six docs sites. AI agents found it and sent over 30,000 queries in a month, mostly fact lookups.

3 min read

Kapa.aillms.txtAI

Isometric 3D illustration of glossy cobalt blue mailboxes on a tiled floor

AI agents found a docs query endpoint that was mentioned nowhere but llms.txt and sent it more than 30,000 queries in a month, Kapa.ai said in a Nov. 19 blog post. The company, which sells an AI answer engine for technical docs, ran the test on its own docs and with five customers. It said it expected the experiment to show nothing.

Key takeaways

  • Six endpoints, each listed only in a site’s llms.txt, drew more than 30,000 queries.
  • At least 70% of queries on every endpoint were lookups. Troubleshooting was a few percent at most.
  • At least a quarter of queries came from agents evaluating a product, often about compliance and billing.
  • When one site removed the llms.txt lines, its traffic fell from a few hundred queries a day to about 20.

How the test worked

Each site added a short section to its llms.txt telling agents to send product questions to a URL and to prefer it over web search. Kapa’s own file, checked Nov. 21, still carries the lines: a public GET https://docs.kapa.ai/retrieve?q=<question> endpoint that needs no login and returns passages with source links. Behind each URL, Kapa said, a small function on the docs domain adds a server-side API key and passes the question to its retrieval API. Kapa did not announce the endpoints.

What the agents asked

The busiest endpoint, on a payments platform’s docs, now gets about 1,000 queries a day, Kapa said. Almost all are unique, and they arrive mostly on weekdays during European and U.S. working hours. Kapa read and labeled a random sample of about 1,500 queries.

Lookups dominated, and they were narrow. Agents asked for the default value of one option, the JSON body of one API call or the exact format of a signature header. About half the queries were keyword strings, not questions. Kapa said agents call the endpoint mid-task, when they need one fact to keep going.

Evaluation showed up on every site, at least a quarter of queries even where builders were the majority. On most endpoints about one query in 10 was about HIPAA, SOC 2, ISO 27001, GDPR or data processing agreements. Pricing questions asked whether an action counts toward a limit, not what a plan costs. When an agent named a competitor, it usually asked how to migrate from it.

Agents read the file on arrival rather than remembering the URL, Kapa said. One site pulled the llms.txt lines partway through but left the endpoint running. Queries dropped from a few hundred a day to about 20 the next day.

Limits Kapa named

Kapa said six endpoints are too few to tell whether the wording of the instructions or the audience drove the results. It also used site visits as a stand-in for agent traffic when it compared a docs site with a marketing site.

The take

We think this is the strongest evidence yet that agents read llms.txt at runtime. Our Sept. 29 report on companies steering AI through llms.txt found no major AI company saying it reads the file. Kapa’s drop-off test is a cleaner signal than anything AI companies have said: take the lines out, and the questions stop the next day.

Docs teams should look hard at what the agents asked for: parameter tables, limits, payload examples and compliance pages. An answer on those pages that is close but wrong sends an agent off to write bad code. The check is cheap. List the facts an integrator needs, such as a rate limit or a webhook header, and confirm each one is stated plainly on one page.

We’d treat the numbers with care. Kapa ran the test, chose the sites and sells the product behind it. A team that wants its own data can add a few lines to llms.txt and count what arrives.