Skip to main content
Generate /llms/{product-slug}.txt files for products and deploy to Vercel.
Standalone endpoint for manual use only. The cron job does NOT call this endpoint directly. Instead, discover-products calls generate_product_llms_txt internally for new products.

Use Cases

  • Regenerate product llms after content updates (manual)
  • Backfill llms files for products that were created without them
  • Manual trigger to refresh product llms content
  • Debugging and testing llms generation

Request Body

Response

How It Works

Shared Service

This endpoint uses the shared generate_product_llms_txt service:
The same service is used by:
  • Onboarding (GROUP 3b)
  • Cron (discover-products)

Product LLMs Architecture

This architecture scales to thousands of products:
  • Root llms.txt stays small (~3KB)
  • Each product gets its own file (~1-2KB)
  • Product files are fetched on-demand for AI article generation

Example Request

Code Location