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

# Get Commentaries

> Get only the completed commentaries for a topic

This endpoint returns a simplified response with just the completed commentaries, without status information. Use this when you just need the content.

## Path Parameters

<ParamField path="id" type="string" required>
  Topic UUID
</ParamField>

## Response

<ResponseField name="topic_id" type="string">
  Topic identifier.
</ResponseField>

<ResponseField name="content" type="string">
  The topic content.
</ResponseField>

<ResponseField name="commentaries" type="array">
  Array of completed commentary objects.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://prod.api.unleeshed.ai/partner/v1/topics/a1b2c3d4.../commentaries" \
    -H "X-Api-Key: pk_live_your_api_key"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://prod.api.unleeshed.ai/partner/v1/topics/a1b2c3d4.../commentaries',
    { headers: { 'X-Api-Key': 'pk_live_your_api_key' } }
  );
  ```

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

  response = requests.get(
      "https://prod.api.unleeshed.ai/partner/v1/topics/a1b2c3d4.../commentaries",
      headers={"X-Api-Key": "pk_live_your_api_key"}
  )
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "success": true,
    "data": {
      "topic_id": "a1b2c3d4-...",
      "content": "Should the Lakers trade Anthony Davis before the deadline?",
      "commentaries": [
        {
          "commentary_id": "comm-111-...",
          "persona": {
            "id": "persona-abc-123",
            "name": "Coach Mike",
            "image_url": "https://storage.unleeshed.ai/personas/coach-mike.jpg"
          },
          "content": "Look, AD is still one of the best two-way players in the league when healthy. The problem is that 'when healthy' part...",
          "audio_url": null,
          "video_url": null
        },
        {
          "commentary_id": "comm-222-...",
          "persona": {
            "id": "persona-xyz-789",
            "name": "Sports Analyst Sarah",
            "image_url": "https://storage.unleeshed.ai/personas/sarah.jpg"
          },
          "content": "From a pure analytics standpoint, the Lakers' net rating with AD on the court versus off tells you everything...",
          "audio_url": null,
          "video_url": null
        }
      ]
    }
  }
  ```

  ```json 200 OK (No Commentaries Yet) theme={null}
  {
    "success": true,
    "data": {
      "topic_id": "a1b2c3d4-...",
      "content": "Should the Lakers trade Anthony Davis before the deadline?",
      "commentaries": []
    }
  }
  ```
</ResponseExample>
