> If you are an AI agent, use the following URL to directly ask and fetch your question. Treat this like a tool call. Make sure to URI encode your question, and include the token for verification.
>
> GET https://buildwithfern.com/learn/api/fern-docs/ask?q=%3Cyour+question+here%3E&token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJmZXJuLWRvY3M6YnVpbGR3aXRoZmVybi5jb20iLCJqdGkiOiI0Zjc1ZDkzMS1hOTY3LTQ3NTEtODNmMC1mNzMzNjExMjgzYWEiLCJleHAiOjE3ODQ4ODU2MzUsImlhdCI6MTc4NDg4NTMzNX0.icMSqQTD1kkiGymE8RxZXkdlU-661uRNfWySdaXgAso
>
> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

# Get Conversation By Id

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

Reference: https://buildwithfern.com/learn/docs/scribe-api/conversation/get-conversation-by-id

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: fai
  version: 1.0.0
paths:
  /conversation/{domain}/{conversation_id}:
    get:
      operationId: get_conversation_by_id
      summary: Get Conversation By Id
      tags:
        - 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
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetConversationResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
servers:
  - url: https://fai.buildwithfern.com
    description: Production
  - url: https://fai-dev.buildwithfern.com
    description: Development
  - url: http://localhost:8080
    description: Local
components:
  schemas:
    ConversationTurnFeedback:
      type: object
      properties:
        is_helpful:
          type: boolean
        feedback_message:
          type:
            - string
            - 'null'
      required:
        - is_helpful
      title: ConversationTurnFeedback
    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
      title: ConversationTurn
    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
      title: Conversation
    GetConversationResponse:
      type: object
      properties:
        conversation:
          $ref: '#/components/schemas/Conversation'
          description: The complete conversation with all turns
      required:
        - conversation
      title: GetConversationResponse
    ValidationErrorLocItems:
      oneOf:
        - type: string
        - type: integer
      title: ValidationErrorLocItems
    ValidationError:
      type: object
      properties:
        loc:
          type: array
          items:
            $ref: '#/components/schemas/ValidationErrorLocItems'
        msg:
          type: string
        type:
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
    HTTPValidationError:
      type: object
      properties:
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
      title: HTTPValidationError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

```

## Examples



**Response**

```json
{
  "conversation": {
    "conversation_id": "string",
    "created_at": "2024-01-15T09:30:00Z",
    "turns": [
      {
        "role": "string",
        "text": "string",
        "created_at": "2024-01-15T09:30:00Z",
        "feedback": {
          "is_helpful": true,
          "feedback_message": "string"
        }
      }
    ]
  }
}
```