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

# Suggest Search

> Search-as-you-type suggestions from indexed dialogue/on-screen text and
past queries. Fails open (empty list) on any error — suggestions must
never block or error out the search box. Not billable: unlike /v1/search,
this does no embedding or Qdrant work.



## OpenAPI

````yaml /openapi.json post /v1/search/suggest
openapi: 3.1.0
info:
  title: Pureframe API
  version: v1
  description: >-
    The Pureframe API lets you upload videos, index them for semantic search,
    and retrieve timestamped clips matching text queries or reference images.
    All endpoints require a Bearer API key (`Authorization: Bearer pf_...`).
  contact:
    url: https://pureframe.ai
    email: hello@pureframe.ai
  x-logo:
    url: https://pureframe.ai/logo.png
servers:
  - url: https://api.pureframe.ai
    description: Production
security: []
tags: []
paths:
  /v1/search/suggest:
    post:
      tags:
        - Search
      summary: Suggest Search
      description: >-
        Search-as-you-type suggestions from indexed dialogue/on-screen text and

        past queries. Fails open (empty list) on any error — suggestions must

        never block or error out the search box. Not billable: unlike
        /v1/search,

        this does no embedding or Qdrant work.
      operationId: suggest_search_v1_search_suggest_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchSuggestRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_list_SearchSuggestion__'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    SearchSuggestRequest:
      properties:
        prefix:
          type: string
          title: Prefix
        collection_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Collection Id
      type: object
      required:
        - prefix
      title: SearchSuggestRequest
    ApiResponse_list_SearchSuggestion__:
      properties:
        data:
          items:
            $ref: '#/components/schemas/SearchSuggestion'
          type: array
          title: Data
        meta:
          $ref: '#/components/schemas/Meta'
      type: object
      required:
        - data
        - meta
      title: ApiResponse[list[SearchSuggestion]]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SearchSuggestion:
      properties:
        text:
          type: string
          title: Text
        source:
          type: string
          title: Source
      type: object
      required:
        - text
        - source
      title: SearchSuggestion
    Meta:
      properties:
        request_id:
          type: string
          title: Request Id
        took_ms:
          type: number
          title: Took Ms
        total:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total
        page:
          anyOf:
            - type: integer
            - type: 'null'
          title: Page
        per_page:
          anyOf:
            - type: integer
            - type: 'null'
          title: Per Page
        facets:
          anyOf:
            - additionalProperties:
                additionalProperties:
                  type: integer
                type: object
              type: object
            - type: 'null'
          title: Facets
      type: object
      required:
        - request_id
        - took_ms
      title: Meta
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````