---
title: "Preview llms.txt"
method: GET
path: "/api/apps/{app_id}/seo/preview/llms-txt"
---

# Preview llms.txt

`GET /api/apps/{app_id}/seo/preview/llms-txt`

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Returns a preview of `llms.txt`, the plain-text summary of the app Base44 generates for AI crawlers, so you can see it before publishing it.

This endpoint generates a fresh version every time you call it, from the app's current draft, the name, description and pages you're working on, not what's already published live.

This preview always generates content, regardless of the app's publish state, search eligibility, or the `llms_txt_enabled` and `seo_disabled` toggles. It does still leave out a page you've marked `noindex`. Whether the live `/llms.txt` path serves this same content depends on separate rules. See [When llms.txt goes live](/developers/references/apps-api/sections/seo#when-llms-txt-goes-live) for those.

<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>

## Path parameters

- `app_id` string, required — ID of the app.

## Response `200`

The generated `llms.txt`.

- LlmsTxtPreviewResponse — The preview.
  - `result` LlmsTxtPreview, required — The llms.txt Base44 would publish for this app.
    - `content` string, required — The full file, ready to serve. Base44 generates it from the app's name, description and discovered routes, so it changes as the app does.

## Other responses

- `401` — Missing or invalid credentials.
- `403` — You don't have access to this app, you used a workspace API key, or you used a read-only personal access token. These endpoints accept a user's credentials only, and none of them accept a read-only credential, including the ones that only read.
- `404` — App not found.
- `429` — Rate limit exceeded. The base limit is 30 requests per minute, shared with the app's other SEO endpoints. See [Rate limits](/developers/references/apps-api/get-started/rate-limits) for the multiplier your plan gets.

---

[API](https://skmtc.dev/base44/apis/base44-app-management-api.md) · [All operations](https://skmtc.dev/base44/apis/base44-app-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/base44/apis/base44-app-management-api/revisions/cf164639a9bf?raw)
