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

# Suggest

> Fast autocomplete suggestions for the search input.

Returns product titles matching the query via prefix, contains,
and fuzzy matching. Designed for low latency (no embeddings).



## OpenAPI

````yaml /api-reference/openapi.json post /api/knowledge/search/suggest
openapi: 3.1.0
info:
  title: Big Panda — Public API
  description: >-
    Externe REST-API für Connector-Plugins (JTL, Shopware), n8n-Integrationen
    und Custom-Clients. Tenant-Routing über Subdomain, Auth über Bearer-Token.
  version: 0.1.0
servers:
  - url: https://{tenant}.app.big-panda.ai
    description: Big Panda — Tenant-Subdomain. Ersetze {tenant} durch deinen Tenant-Slug.
    variables:
      tenant:
        default: demo
        description: Dein Big-Panda-Tenant-Slug (z.B. 'acme').
security:
  - BearerAuth: []
tags:
  - name: Products
  - name: Knowledge Entries
  - name: Categories
  - name: Sites
  - name: Search
  - name: OAuth
    description: >-
      OAuth-2.1-Authentifizierung — Discovery, Dynamic Client Registration,
      Authorize, Token, Revoke.
paths:
  /api/knowledge/search/suggest:
    post:
      tags:
        - Search
      summary: Suggest
      description: |-
        Fast autocomplete suggestions for the search input.

        Returns product titles matching the query via prefix, contains,
        and fuzzy matching. Designed for low latency (no embeddings).
      operationId: suggest_search_suggest_post
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SuggestRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuggestResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SuggestRequest:
      properties:
        query:
          type: string
          maxLength: 200
          minLength: 1
          title: Query
        limit:
          type: integer
          maximum: 20
          minimum: 1
          title: Limit
          default: 8
        language:
          anyOf:
            - type: string
            - type: 'null'
          title: Language
        site_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Site Id
      type: object
      required:
        - query
      title: SuggestRequest
      description: Input for the autocomplete suggest endpoint.
    SuggestResponse:
      properties:
        suggestions:
          items:
            $ref: '#/components/schemas/SuggestItem'
          type: array
          title: Suggestions
        query:
          type: string
          title: Query
      type: object
      required:
        - suggestions
        - query
      title: SuggestResponse
      description: Autocomplete suggestions.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SuggestItem:
      properties:
        title:
          type: string
          title: Title
        brand:
          anyOf:
            - type: string
            - type: 'null'
          title: Brand
        category:
          anyOf:
            - type: string
            - type: 'null'
          title: Category
      type: object
      required:
        - title
        - brand
        - category
      title: SuggestItem
      description: A single autocomplete suggestion.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API-Token aus dem Big-Panda-Admin-UI unter Einstellungen → API-Keys.
        Header: `Authorization: Bearer <token>`.

````