Preview llms.txt
Changed on<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 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>
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/apps/{app_id}/seo/preview/llms-txt
- AuthHTTP bearer
Path parameters
ID of the app.
Response
The generated llms.txt.
Example response
{
"result": {
"content": "# Acme CRM\n\n> Track leads and deals in one place.\n\n## Pages\n\n- [Home](https://acme-crm.base44.app/): Main page\n- [Pricing](https://acme-crm.base44.app/pricing): Pricing page\n"
}
}Changes
- info
the security scope
read_onlywas added to the endpoint's security schemePersonalAccessTokenAuth - info
the security scope
full_accesswas removed from the endpoint's security schemePersonalAccessTokenAuth
- info
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info