Generate LLMs.txt
The LLMs.txt generation endpoint creates LLMs.txt and LLMs-full.txt files for any website. These files provide a structured, LLM-friendly format of the website’s content, making it easier for language models to understand and process the information.
Looking for the status endpoint? Check out the LLMs.txt Status endpoint.
Response Structure
The response includes:
- success: Boolean indicating if the request was successful
- id: Unique identifier for the generation job
Output Format
-
LLMs.txt
-
Concise, structured summary of the website
-
Contains key links and descriptions
-
Formatted in markdown for easy parsing
-
Example:
-
-
LLMs-full.txt (when showFullText is true)
-
Contains full content of processed pages
-
Maintains hierarchical structure
-
Includes more detailed information
-
Example:
-
Billing
Billing is based on API calls and URLs processed:
- Base cost: 1 credit per API call
- Additional: 1 credit per URL processed
- Control URL costs with
maxUrls
parameter
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The URL to generate LLMs.txt from
Maximum number of URLs to analyze
Include full text content in the response