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

# Semantic + Keyword Search

> Perform hybrid BM25 + semantic vector search across all indexed content



## OpenAPI

````yaml post /external/search
openapi: 3.1.0
info:
  title: Shieldbase External API
  description: Public API for Shieldbase AI integration
  version: 1.0.0
servers:
  - url: https://api.shieldbase.ai
    description: Production
  - url: http://localhost:8000
    description: Development
security:
  - ClientID: []
    APIKey: []
    Secret: []
paths:
  /external/search:
    post:
      tags:
        - Search
      summary: Semantic + Keyword Search
      description: Perform hybrid BM25 + semantic vector search across all indexed content
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                keyword:
                  type: string
                limit:
                  type: integer
                  default: 20
                group_by_file:
                  type: boolean
                  default: false
              required:
                - keyword
      responses:
        '200':
          description: Search results
components:
  securitySchemes:
    ClientID:
      type: apiKey
      in: header
      name: X-Client-ID
    APIKey:
      type: apiKey
      in: header
      name: X-API-Key
    Secret:
      type: apiKey
      in: header
      name: X-Secret

````