# Get Conversation By Id

GET https://fai.buildwithfern.com/conversation/{domain}/{conversation_id}

Reference: https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/conversation/get-conversation-by-id

## OpenAPI Specification

```yaml
openapi: 3.1.1
info:
  title: Get Conversation By Id
  version: endpoint_conversation.get_conversation_by_id
paths:
  /conversation/{domain}/{conversation_id}:
    get:
      operationId: get-conversation-by-id
      summary: Get Conversation By Id
      tags:
        - - subpackage_conversation
      parameters:
        - name: domain
          in: path
          required: true
          schema:
            type: string
        - name: conversation_id
          in: path
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: >-
            Bearer authentication of the form `Bearer <token>`, where token is
            your auth token.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetConversationResponse'
        '422':
          description: Validation Error
          content: {}
components:
  schemas:
    ConversationTurnFeedback:
      type: object
      properties:
        is_helpful:
          type: boolean
        feedback_message:
          type:
            - string
            - 'null'
      required:
        - is_helpful
    ConversationTurn:
      type: object
      properties:
        role:
          type: string
        text:
          type: string
        created_at:
          type: string
          format: date-time
        feedback:
          oneOf:
            - $ref: '#/components/schemas/ConversationTurnFeedback'
            - type: 'null'
      required:
        - role
        - text
        - created_at
    Conversation:
      type: object
      properties:
        conversation_id:
          type: string
        created_at:
          type: string
          format: date-time
        turns:
          type: array
          items:
            $ref: '#/components/schemas/ConversationTurn'
      required:
        - conversation_id
        - created_at
        - turns
    GetConversationResponse:
      type: object
      properties:
        conversation:
          $ref: '#/components/schemas/Conversation'
          description: The complete conversation with all turns
      required:
        - conversation

```