Skip to main content

GET /file/:siteId/download

This endpoint allows you to download the llms.txt file for a given site. It sets the Content-Disposition header to prompt a download in the browser. This is a public endpoint.

Path Parameters

siteId
string
required
The ID of the site.

Query Parameters

full
boolean
If true, downloads the version of the file that includes the full text of each page. Defaults to false.

Response

The response will be the llms.txt file, which will trigger a download in the browser.
curl -X GET https://api.llmgenerator.com/api/v1/file/site_xxxxxxxxxxxxx/download -o llms.txt