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

# Search chat sessions

> Hybrid chat search: keyword over titles and message text, plus embedding similarity
over message content. Each hit carries the best-matching snippet.




## OpenAPI

````yaml /openapi.yaml get /assistant/sessions/search
openapi: 3.1.0
info:
  title: memloom local API
  version: 0.1.0
  description: >
    The HTTP API served by the `memloom serve` daemon on your machine. The CLI,
    the MCP server,

    and the viewer all route through this API. The daemon is the single owner of
    the store, so

    every client shares one consistent view of your memories.


    No authentication: the daemon binds to `127.0.0.1` only and is reachable
    solely from your

    own machine. Browser clients on other localhost ports are allowed via CORS.
servers:
  - url: http://127.0.0.1:4319
    description: Local memloom daemon
security: []
paths:
  /assistant/sessions/search:
    get:
      summary: Search chat sessions
      description: >
        Hybrid chat search: keyword over titles and message text, plus embedding
        similarity

        over message content. Each hit carries the best-matching snippet.
      operationId: searchAssistantSessions
      parameters:
        - name: q
          in: query
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Matching sessions with snippets.
          content:
            application/json:
              schema:
                type: object
                properties:
                  sessions:
                    type: array
                    items:
                      allOf:
                        - $ref: '#/components/schemas/AssistantSession'
                        - type: object
                          properties:
                            snippet:
                              type: string
components:
  schemas:
    AssistantSession:
      type: object
      properties:
        id:
          type: string
          format: uuid
        title:
          type: string
          example: what are my plans for today?
        isStarred:
          type: boolean
        createdAt:
          type: string
        updatedAt:
          type: string

````