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

# List conversations

> List the conversations belonging to the token's user in this product — for rendering a history panel next to the embedded analyst. Authenticated with the embed token itself, not the API key. Returns a flat array in no particular order.



## OpenAPI

````yaml post /api/v1/products/{product_id}/conversations
openapi: 3.1.0
info:
  title: ClarityQ API
  description: ClarityQ API, authenticated via API keys.
  version: 1.0.0
servers:
  - url: https://api.clarityq.ai
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/v1/products/{product_id}/conversations:
    servers:
      - url: https://app.clarityq.ai
        description: Production
    post:
      tags:
        - API
      summary: List conversations
      description: >-
        List the conversations belonging to the token's user in this product —
        for rendering a history panel next to the embedded analyst.
        Authenticated with the embed token itself, not the API key. Returns a
        flat array in no particular order.
      operationId: get_conversations_api_v1_products__product_id__conversations_post
      parameters:
        - name: product_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Product Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListConversationsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EmbedConversation'
                title: Conversations
        '401':
          description: Token missing, malformed or expired.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - EmbedTokenAuth: []
components:
  schemas:
    ListConversationsRequest:
      type: object
      title: ListConversationsRequest
      description: >-
        Required, but empty: scoping is server-side from the token, so there is
        nothing to filter on.
      properties: {}
    EmbedConversation:
      type: object
      title: Conversation
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: >-
            Pass this to `clarityq:open-conversation` to show the conversation
            in the iframe.
        description:
          type:
            - string
            - 'null'
          title: Description
          description: >-
            The title. Starts as `New Chat` and is replaced by the generated
            title a few seconds into the first answer — the embed announces the
            change via the `clarityq:title` postMessage, so a live panel never
            needs to re-fetch for it.
        is_title_generating:
          type: boolean
          title: Is Title Generating
          description: >-
            `true` only while the fallback title path is still writing (rare).
            With the `clarityq:title` postMessage wired, you can ignore this
            field.
        last_updated:
          type: string
          format: date-time
          title: Last Updated
          description: Sort on this for most-recent-first.
        starred:
          type: boolean
          title: Starred
          description: The user starred it inside the chat.
        created_at:
          type: string
          format: date-time
          title: Created At
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key obtained from the ClarityQ dashboard.
    EmbedTokenAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Short-lived embed token, minted server-side with your API key via the
        Mint embed token endpoint. Scoped to one end user and one product.

````