[DOCS] llms.txt contains 44 broken /api/cli/ URLs returning 404
Resolved 💬 2 comments Opened Feb 25, 2026 by ColtWindy Closed Feb 28, 2026
Documentation Type
Broken links
Documentation Location
https://platform.claude.com/llms.txt
What's Wrong?
The llms.txt file contains 44 URLs with an incorrect /api/cli/ path segment. All of these return 404. The correct paths exist under /api/ (without cli/).
Sample broken URLs (all 404):
- https://platform.claude.com/docs/en/api/cli/beta/files/download.md
- https://platform.claude.com/docs/en/api/cli/messages/create.md
- https://platform.claude.com/docs/en/api/cli/beta/messages/batches/create.md
- https://platform.claude.com/docs/en/api/cli/models/list.md
- https://platform.claude.com/docs/en/api/cli/completions/create.md
Corresponding working URLs (without /cli/):
- https://platform.claude.com/docs/en/api/beta/files/download.md ✅
- https://platform.claude.com/docs/en/api/messages/create.md ✅
There are 44 such URLs in total, all following the same pattern: /api/cli/... should be /api/....
Impact
Medium — affects LLM-based documentation consumers relying on llms.txt for link discovery.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗