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

# Get Conversation

## Get Conversation

Retrieve a specific conversation by ID. Users can only access conversations for their own agents.

<ParamField path="path" name="id" type="string" required>
  Conversation ID
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.example.com/api/v1/conversations/conv_abc123" \
    -H "X-API-Key: your-api-key-here"
  ```

  ```javascript JavaScript theme={null}
  const conversationId = 'conv_abc123';
  const response = await fetch(`https://api.example.com/api/v1/conversations/${conversationId}`, {
    method: 'GET',
    headers: {
      'X-API-Key': 'your-api-key-here'
    }
  });

  const data = await response.json();
  ```

  ```python Python theme={null}
  import requests

  conversation_id = 'conv_abc123'
  headers = {
      'X-API-Key': 'your-api-key-here'
  }

  response = requests.get(
      f'https://api.example.com/api/v1/conversations/{conversation_id}',
      headers=headers
  )

  data = response.json()
  ```
</RequestExample>

## Response

<ResponseField name="status" type="object">
  Response status information

  <ResponseField name="code" type="integer">
    HTTP status code (200)
  </ResponseField>

  <ResponseField name="message" type="string">
    Status message
  </ResponseField>
</ResponseField>

<ResponseField name="data" type="object">
  Conversation object

  <ResponseField name="conversation_id" type="string">
    Unique conversation identifier
  </ResponseField>

  <ResponseField name="agent_id" type="string">
    Associated agent ID
  </ResponseField>

  <ResponseField name="agent_name" type="string">
    Name of the agent
  </ResponseField>

  <ResponseField name="status" type="string">
    Conversation status
  </ResponseField>

  <ResponseField name="transcript" type="array">
    Array of conversation transcript entries
  </ResponseField>

  <ResponseField name="metadata" type="object">
    Additional conversation metadata
  </ResponseField>

  <ResponseField name="created_at" type="string">
    ISO 8601 timestamp when conversation started
  </ResponseField>
</ResponseField>

<ResponseExample>
  ```json Success Response theme={null}
  {
    "status": {
      "code": 200,
      "message": "Success"
    },
    "data": {
      "conversation_id": "conv_abc123",
      "agent_id": "123",
      "agent_name": "Customer Support Agent",
      "status": "completed",
      "transcript": [
        {
          "role": "user",
          "content": "Hello, I need help with my order",
          "timestamp": "2024-01-15T10:30:00Z"
        },
        {
          "role": "assistant",
          "content": "I'd be happy to help you with your order. Can you provide your order number?",
          "timestamp": "2024-01-15T10:30:05Z"
        },
        {
          "role": "user",
          "content": "My order number is 12345",
          "timestamp": "2024-01-15T10:30:15Z"
        },
        {
          "role": "assistant",
          "content": "Thank you. I can see your order is currently being processed...",
          "timestamp": "2024-01-15T10:30:20Z"
        }
      ],
      "metadata": {
        "duration": 120,
        "call_quality": "good",
        "summary": "Customer inquired about order status for order #12345"
      },
      "created_at": "2024-01-15T10:30:00Z"
    }
  }
  ```
</ResponseExample>

## Error Responses

<ResponseField name="401" type="object">
  Unauthorized - Invalid or missing authentication
</ResponseField>

<ResponseField name="404" type="object">
  Conversation not found
</ResponseField>

<ResponseField name="400" type="object">
  Bad request - Missing API key
</ResponseField>

<ResponseField name="502" type="object">
  Bad gateway - ElevenLabs API error
</ResponseField>
