> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base44.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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 the `llms.txt` Base44 generates for the app, so you can see it before publishing it.

`llms.txt` is a plain-text summary of the app for AI crawlers. This endpoint generates it fresh from the app's current name, description and pages every time you call it, so the content tracks the app rather than anything saved.

Nothing here publishes it, and setting `llms_txt_enabled` on the app's SEO settings is not enough on its own. Two things decide what `/llms.txt` answers, in this order.

First, the app has to be published and search-eligible. Base44 counts an app as search-eligible when it's public. A private or workspace app never is, and an app that requires a login qualifies only where Base44 has turned search indexing on for it. Fail either and the path 404s whatever your settings say. Search-eligibility is also what decides whether a scan reports on `llms.txt` at all, so a scan of a private app leaves that check out while a scan of an unpublished public one still reports it, even though the path 404s for now.

Past that, `llms_txt_enabled` and `seo_disabled` only choose *which* file the app serves. With the toggle off, or SEO disabled, Base44 falls back to an `llms.txt` you deployed with the app yourself and 404s only when there isn't one, so neither setting removes a file of your own.

This endpoint is limited to 30 requests per minute per app, and that budget is shared with the app's other SEO endpoints.

<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>



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/preview/llms-txt
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - ApiKeyAuth: []
paths:
  /api/apps/{app_id}/seo/preview/llms-txt:
    get:
      summary: Preview llms.txt
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Returns the `llms.txt` Base44 generates for the app, so you can see it
        before publishing it.


        `llms.txt` is a plain-text summary of the app for AI crawlers. This
        endpoint generates it fresh from the app's current name, description and
        pages every time you call it, so the content tracks the app rather than
        anything saved.


        Nothing here publishes it, and setting `llms_txt_enabled` on the app's
        SEO settings is not enough on its own. Two things decide what
        `/llms.txt` answers, in this order.


        First, the app has to be published and search-eligible. Base44 counts an
        app as search-eligible when it's public. A private or workspace app
        never is, and an app that requires a login qualifies only where Base44
        has turned search indexing on for it. Fail either and the path 404s
        whatever your settings say. Search-eligibility is also what decides
        whether a scan reports on `llms.txt` at all, so a scan of a private app
        leaves that check out while a scan of an unpublished public one still
        reports it, even though the path 404s for now.


        Past that, `llms_txt_enabled` and `seo_disabled` only choose *which*
        file the app serves. With the toggle off, or SEO disabled, Base44 falls
        back to an `llms.txt` you deployed with the app yourself and 404s only
        when there isn't one, so neither setting removes a file of your own.


        This endpoint is limited to 30 requests per minute per app, and that
        budget is shared with the app's other SEO endpoints.


        <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>
      operationId: preview_llms_txt_api_apps__app_id__seo_preview_llms_txt_get
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            description: ID of the app.
            title: App Id
          description: ID of the app.
          example: 6820f3a4e7b91d003c45a1f2
      responses:
        '200':
          description: The generated `llms.txt`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LlmsTxtPreviewResponse'
        '401':
          description: Missing or invalid credentials.
        '403':
          description: >-
            You don't have access to this app, or you used a workspace API key.
            These endpoints accept a user's credentials only.
        '404':
          description: App not found.
        '429':
          description: Rate limit exceeded (30 requests per minute).
components:
  schemas:
    LlmsTxtPreviewResponse:
      properties:
        result:
          $ref: '#/components/schemas/LlmsTxtPreview'
          description: The generated file.
      type: object
      required:
        - result
      title: LlmsTxtPreviewResponse
      description: The preview, wrapped in the field the endpoint returns it under.
    LlmsTxtPreview:
      properties:
        content:
          type: string
          title: Content
          description: >-
            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.
          example: |
            # Acme CRM

            > Track leads and deals in one place.

            ## Pages

            - [Home](https://acme-crm.base44.app/): Main page
            - [Pricing](https://acme-crm.base44.app/pricing): Pricing page
      type: object
      required:
        - content
      title: LlmsTxtPreview
      description: The llms.txt Base44 would publish for this app.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: Personal API key.

````