> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# Render llms.txt

**Published**: 2026-11-30
**Category**: SEO & LLMs

## `GET /llms.txt`

**Render llms.txt**

Returns the site's `llms.txt`, a Markdown index with one link per
line under `##` section headings. Article and page links point at
their Markdown rendering (the `.md` suffix). A site with a product
catalog also gets `## Products`, `## Product categories` and
`## Collections` sections, linking to the pages themselves with no
price or stock.

Empty sections and items marked noindex are left out. On a
multi-language site, `locale` selects the language, as
`/{locale}/llms.txt` does. Returns 404 when llms.txt is disabled for
the site.

### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `402` | The site subscription does not currently permit this operation |


> **Notes:** Content type: `text/markdown; charset=utf-8`. Cache:
> `Cache-Control: public, max-age=0, s-maxage=3600`. Rate-limit
> bucket: general.

### SDK

```typescript
import { createClient } from 'lynkow'

const lynkow = createClient({ siteId: process.env.LYNKOW_SITE_ID! })

// In a Next.js route handler (app/llms.txt/route.ts)
export async function GET() {
  const md = await lynkow.seo.llmsTxt()
  return new Response(md, {
    headers: { 'Content-Type': 'text/plain; charset=utf-8' }
  })
}
```

### Examples

```curl
curl "https://api.lynkow.com/storefront/{siteId}/llms.txt"
```

### Response Example

```
# Acme

> Linen clothing, cut and sewn in Portugal.

## Sitemap
- [Sitemap XML](https://www.acme.io/sitemap.xml)

## Blog
- [How we pick our linen](https://www.acme.io/blog/how-we-pick-our-linen.md): Where our fabric comes from.

## Products
- [Linen Shirt](https://www.acme.io/products/linen-shirt)
- [Wool Scarf](https://www.acme.io/products/wool-scarf)

## Product categories
- [Shirts](https://www.acme.io/product-categories/shirts)

## Collections
- [Summer](https://www.acme.io/collections/summer)

## Pages
- [Pricing](https://www.acme.io/pricing.md): Simple pricing. Start free, scale when you grow.
```

---