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

# Search chats by meaning

> Finds your past chats in a workspace by meaning as well as by keywords, best match first. Use List chats with `search` for a plain text match.




## OpenAPI

````yaml /openapi/chat.yaml get /ai-chat/conversations/search
openapi: 3.1.0
info:
  title: Connie Chat API
  version: 1.0.0
  description: >
    Endpoints the Connie web app uses for chat. They authenticate with your
    signed-in browser session — see
    https://docs.connie.ai/api-reference/authentication. These are the app's own
    endpoints and can change when the app changes.
servers:
  - url: https://connie.ai/api
security:
  - sessionCookie: []
tags:
  - name: Chats
    description: List, create, rename, pin and delete chats.
  - name: Turns
    description: Send a message to Connie and stop a running reply.
  - name: Chat messages
    description: Read the saved messages of a chat.
  - name: Artifacts
    description: Workflows, tables, canvases, analytics views and apps attached to a chat.
  - name: Sharing
    description: >-
      Share a chat or a single file or canvas, and read a chat through its
      public link.
paths:
  /ai-chat/conversations/search:
    get:
      tags:
        - Chats
      summary: Search chats by meaning
      description: >
        Finds your past chats in a workspace by meaning as well as by keywords,
        best match first. Use List chats with `search` for a plain text match.
      operationId: searchConversationsByMeaning
      parameters:
        - name: q
          in: query
          required: true
          description: What to look for.
          schema:
            type: string
        - name: workspace_id
          in: query
          required: true
          description: Workspace to search. Note the snake-case name.
          schema:
            type: string
            format: uuid
        - name: limit
          in: query
          schema:
            type: integer
            default: 10
      responses:
        '200':
          description: Matching conversations.
          content:
            application/json:
              schema:
                type: object
                properties:
                  conversations:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        title:
                          type:
                            - string
                            - 'null'
                        last_message:
                          description: Preview of the latest message.
                        metadata:
                          type:
                            - object
                            - 'null'
                        created_at:
                          type: string
                          format: date-time
                        updated_at:
                          type: string
                          format: date-time
                        semantic_score:
                          type: number
                        keyword_score:
                          type: number
                        combined_score:
                          type: number
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    BadRequest:
      description: A required field is missing or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: >-
        No valid session (`UNAUTHORIZED`), or the session has expired
        (`SESSION_EXPIRED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Machine-readable code, when there is one.
      required:
        - error
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: header
      name: Cookie
      description: >-
        The full Cookie header copied from a signed-in connie.ai browser
        request. See the Authentication page.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.