Skip to main content
GET
https://api.unleeshed.ai
/
partner
/
v1
/
topics
/
{id}
/
commentaries
curl -X GET "https://api.unleeshed.ai/partner/v1/topics/a1b2c3d4.../commentaries" \
  -H "X-Api-Key: pk_live_your_api_key"
{
  "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
      }
    ]
  }
}
This endpoint returns a simplified response with just the completed commentaries, without status information. Use this when you just need the content.

Path Parameters

id
string
required
Topic UUID

Response

topic_id
string
Topic identifier.
content
string
The topic content.
commentaries
array
Array of completed commentary objects.
curl -X GET "https://api.unleeshed.ai/partner/v1/topics/a1b2c3d4.../commentaries" \
  -H "X-Api-Key: pk_live_your_api_key"
{
  "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
      }
    ]
  }
}