Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.llmgenerator.com/llms.txt

Use this file to discover all available pages before exploring further.

GET /file/

This endpoint returns the content of the llms.txt file for a given site. This is a public endpoint and does not require authentication, allowing you to embed the file URL directly in your website.
The response includes CORS headers (Access-Control-Allow-Origin: *) for cross-origin access, and is cached for 5 minutes.

Path Parameters

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

Query Parameters

full
boolean
default:"false"
If true, returns the version of the file that includes the full text content of each page. Useful for AI context windows.

Response

The response will be the plain text content of the llms.txt file with:
  • Content-Type: text/plain; charset=utf-8
  • Cache-Control: public, max-age=300
curl -X GET https://api.llmgenerator.com/api/v1/file/550e8400-e29b-41d4-a716-446655440000
# Example Domain
> An example domain for use in documentation and examples.

## Pages

- [Home](https://example.com/): The main landing page for Example Domain.
- [About](https://example.com/about): Learn more about Example Domain and its purpose.
- [Contact](https://example.com/contact): Get in touch with the Example Domain team.