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

# Get Conversations

> Returns the conversations for the given application



## OpenAPI

````yaml GET /conversations
openapi: 3.1.0
info:
  title: HeyPal API
  version: '1.0'
  description: >-
    The HeyPal API makes it easy to add A.I. powered semantic-search & other
    A.I. functionality to your product & content.
servers:
  - url: https://api.pal.ai/v1
security:
  - API Key: []
paths:
  /conversations:
    get:
      summary: Get Conversations
      description: Returns the conversations for the given application
      operationId: get-conversations
      parameters:
        - schema:
            type: string
          in: query
          name: applicationId
          required: true
      requestBody:
        content: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  conversations:
                    type: array
                    x-stoplight:
                      id: y1c2mphz4etrs
                    items:
                      $ref: '#/components/schemas/Conversation'
                      x-stoplight:
                        id: olqpwykka9we1
components:
  schemas:
    Conversation:
      title: Conversation
      x-stoplight:
        id: dnodvcybaemy4
      type: object
      properties:
        id:
          type: string
          x-stoplight:
            id: m528e7v83k94a
        applicationId:
          type: string
          x-stoplight:
            id: gc9aylmtwqzuk
        createdAt:
          type: string
          x-stoplight:
            id: obbsbs1gr1ois
        updatedAt:
          type: string
          x-stoplight:
            id: o4n5rtao5xc1y
        deletedAt:
          type: string
          x-stoplight:
            id: i2yjgcgoh4php
        messages:
          type: array
          x-stoplight:
            id: gfk7ipfopo4k3
          items:
            $ref: '#/components/schemas/ConversationMessage'
            x-stoplight:
              id: sj3z35z81beop
    ConversationMessage:
      title: ConversationMessage
      x-stoplight:
        id: l2qqhd6oifjdu
      type: object
      properties:
        id:
          type: string
        content:
          type: string
          x-stoplight:
            id: 0325wkuxemfth
        role:
          type: string
          x-stoplight:
            id: euesva5i3tl80
          enum:
            - user
            - system
            - assistant
        type:
          type: string
          x-stoplight:
            id: bw5mg5q3el291
        parentMessageId:
          type:
            - string
            - 'null'
          x-stoplight:
            id: z00179zainrrd
        searchResultSet:
          $ref: '#/components/schemas/SearchResults'
          x-stoplight:
            id: 3wpyew8z68z1h
        createdAt:
          type: string
          x-stoplight:
            id: 05mk48gpinyjc
        updatedAt:
          type: string
          x-stoplight:
            id: sov24wo1hayg8
        deletedAt:
          type:
            - string
            - 'null'
          x-stoplight:
            id: s0o6yevj5brge
        conversationId:
          type: string
          x-stoplight:
            id: 73fbvgg6mhsid
        feedback:
          $ref: '#/components/schemas/MessageFeedback'
          x-stoplight:
            id: tzhy6jped1zuj
        '':
          type: string
          x-stoplight:
            id: 4d3ehxm7xkhho
    SearchResults:
      title: SearchResults
      x-stoplight:
        id: 8ru9mlevhbb5a
      type: object
      properties:
        documents:
          x-stoplight:
            id: a6hm8esk8vbu6
          type: array
          items:
            $ref: '#/components/schemas/SearchResultDocument'
            x-stoplight:
              id: q7awucxjehpxc
        sections:
          x-stoplight:
            id: djy5szi7gar58
          type: array
          items:
            $ref: '#/components/schemas/SearchResultSection'
            x-stoplight:
              id: 8epjxbwwli6c0
    MessageFeedback:
      title: MessageFeedback
      x-stoplight:
        id: 2gbm38i8m4l54
      type: object
      enum:
        - thumbsUp
        - thumbsDown
      properties:
        rating:
          type: string
          x-stoplight:
            id: 0jwprr47l1ni0
          enum:
            - thumbsUp
            - thumbsDown
        content:
          type: object
          x-stoplight:
            id: setrdq09uj9s9
          properties:
            text:
              type: string
              x-stoplight:
                id: gbsjuy09ewr0y
              description: Textual feedback. May be empty.
          required:
            - text
      required:
        - rating
      x-internal: false
    SearchResultDocument:
      title: SearchResultDocument
      x-stoplight:
        id: tedvaboygvsz3
      type: object
      properties:
        id:
          type: string
        title:
          type: string
          x-stoplight:
            id: szfb41o346s8j
        url:
          type: string
          x-stoplight:
            id: twz4ofljy43vm
        contentPreview:
          type: string
          x-stoplight:
            id: smvofz5kercly
      required:
        - id
        - title
        - contentPreview
    SearchResultSection:
      title: SearchResultSection
      x-stoplight:
        id: 40kaw83usyn3x
      type: object
      properties:
        id:
          type: string
        applicationId:
          type: string
          x-stoplight:
            id: 1hf86daam0v0v
        heading:
          type: string
          x-stoplight:
            id: yocswro10mueg
        text:
          type: string
          x-stoplight:
            id: k0xka7fthms8p
        documentId:
          type: string
          x-stoplight:
            id: libpxrvo8dr98
        indexOrder:
          type: string
          x-stoplight:
            id: unc8se3x8631p
        indexId:
          type: string
          x-stoplight:
            id: nmb2ghiaab592
        indexName:
          type: string
          x-stoplight:
            id: 7ut3j1bx5d29i
        indexInfo:
          type: string
          x-stoplight:
            id: s3mpr2hvaopm3
        deletedAt:
          type: string
          x-stoplight:
            id: amaxct5n3t92s
        updatedAt:
          type: string
          x-stoplight:
            id: bbef3z6fhqekq
        createdAt:
          type: string
          x-stoplight:
            id: rc91811wlffd7

````