Skip to main content

GET /file/:siteId

This endpoint returns the content of the llms.txt file for a given site. This is a public endpoint and does not require authentication.

Path Parameters

siteId
string
required
The ID of the site for which to retrieve the file.

Query Parameters

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

Response

The response will be the plain text content of the llms.txt file.
curl -X GET https://api.llmgenerator.com/api/v1/file/site_xxxxxxxxxxxxx
user-agent: *
disallow:

sitemap: https://www.example.com/sitemap.xml

url: https://www.example.com/
title: Example Domain
description: An example domain for use in documentation.
...