GET /file//download
This endpoint allows you to download thellms.txt file for a given site. It sets the Content-Disposition header to prompt a download in the browser. This is a public endpoint and does not require authentication.
Path Parameters
The ID of the site.
Query Parameters
If
true, downloads the version of the file that includes the full text of each page.Response
The response will be thellms.txt file with appropriate headers:
- Content-Type:
text/plain; charset=utf-8 - Content-Disposition:
attachment; filename="{hostname}-llms.txt" - Cache-Control:
public, max-age=300
example-com-llms.txt or example-com-llms-full.txt for full text version).