Skip to main content
POST
Generate LLMs.txt for a website
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

  1. LLMs.txt
    • Concise, structured summary of the website
    • Contains key links and descriptions
    • Formatted in markdown for easy parsing
    • Example:
  2. 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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string<uri>
required

The URL to generate LLMs.txt from

maxUrls
integer
default:2

Maximum number of URLs to analyze

showFullText
boolean
default:false

Include full text content in the response

Response

LLMs.txt generation job started successfully

success
boolean
Example:

true

id
string<uuid>

ID of the LLMs.txt generation job