---
title: Get an MCP taxonomy topic
description: Returns one topic and up to eight example episodes. Examples are not a page. Use the episode list to page through episodes.
product: general
lang: en
last_updated: 2026-10-16
token_estimate: 1624
---
# Get an MCP taxonomy topic

## Get an MCP taxonomy topic

**GET** `/v1/projects/{project_id}/mcp-analytics/servers/{server_id}/topics/{topic_id}`

Full URL: `https://developer-api.amplitude.com/v1/projects/{project_id}/mcp-analytics/servers/{server_id}/topics/{topic_id}`

> For AI agents: a documentation index is available at [/docs/llms.txt](/docs/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

**Servers:**
- Production (US): `https://developer-api.amplitude.com/v1/projects/{project_id}/mcp-analytics/servers/{server_id}/topics/{topic_id}`
- Production (EU): `https://developer-api.eu.amplitude.com/v1/projects/{project_id}/mcp-analytics/servers/{server_id}/topics/{topic_id}`

Get an MCP taxonomy topic

Returns one topic and up to eight example episodes. Examples are not a
page. Use the episode list to page through episodes.

## Authorizations

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| Authorization | string | Yes | — | http |

## Path parameters

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| project_id (path) | string | Yes | 12345 | Amplitude project identifier, backed by the canonical app ID. Constraints: pattern: ^[0-9]+$ |
| server_id (path) | string | Yes | — | Server id. Constraints: pattern: ^[0-9]+$ |
| topic_id (path) | string | Yes | — | Stable topic id. `root` is not a topic id. Constraints: min length: 1, max length: 256 |

## Response (application/json)

**200** — Topic and its example episodes.

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| data | object | Yes | — | — |
| data.id | string | Yes | — | Stable topic id. `root` is reserved and is never a topic id. |
| data.object | string | Yes | — | — |
| data.parent_id | string | Yes | — | Constraints: nullable |
| data.depth | integer | Yes | — | Constraints: min: 0 |
| data.name | string | Yes | — | — |
| data.description | string | Yes | — | Constraints: nullable |
| data.episode_count | number | Yes | — | Constraints: nullable |
| data.share | number | Yes | — | Constraints: nullable |
| data.hard_error_rate | number | Yes | — | Constraints: nullable |
| data.thrashing_rate | number | Yes | — | Constraints: nullable |
| data.mean_calls | number | Yes | — | Constraints: nullable |
| data.neighbor_ids | string[] | Yes | — | — |
| data.examples | object[] | Yes | — | At most eight episode summaries. This is not a page and has no cursor. |
| data.examples.id | string | Yes | — | — |
| data.examples.object | string | Yes | — | — |
| data.examples.started_at | string | Yes | — | Constraints: format: date-time |
| data.examples.ended_at | string | Yes | — | Constraints: format: date-time |
| data.examples.call_count | integer | Yes | — | Constraints: min: 0 |
| data.examples.error_count | integer | Yes | — | Constraints: min: 0 |
| data.examples.is_thrash | boolean | Yes | — | — |
| data.examples.client_name | string | Yes | — | — |
| data.examples.lane | string | Yes | — | — |
| data.examples.confidence | number | Yes | — | Constraints: nullable |

```json
{
  "data": {
    "id": "string",
    "object": "mcp_analytics_topic",
    "parent_id": "string",
    "depth": 0,
    "name": "string",
    "description": "string",
    "episode_count": 0,
    "share": 0,
    "hard_error_rate": 0,
    "thrashing_rate": 0,
    "mean_calls": 0,
    "neighbor_ids": [
      "string"
    ],
    "examples": [
      {
        "id": "string",
        "object": "mcp_analytics_episode",
        "started_at": "2024-01-01T00:00:00Z",
        "ended_at": "2024-01-01T00:00:00Z",
        "call_count": 0,
        "error_count": 0,
        "is_thrash": true,
        "client_name": "string",
        "lane": "string",
        "confidence": 0
      }
    ]
  }
}
```

**400**

**401**

**403**

**404**

**429**

**502**

## Code samples

### cURL

```bash
curl -X GET "https://developer-api.amplitude.com/v1/projects/12345/mcp-analytics/servers/{server_id}/topics/{topic_id}" \
  -H "Content-Type: application/json" \
  -H "Authorization: YOUR_API_KEY"
```

### Python

```python
import requests

response = requests.get(
    "https://developer-api.amplitude.com/v1/projects/12345/mcp-analytics/servers/{server_id}/topics/{topic_id}",
    headers={
        "Content-Type": "application/json",
        "Authorization": "YOUR_API_KEY"
    }
)
data = response.json()
```

### JavaScript

```javascript
const response = await fetch("https://developer-api.amplitude.com/v1/projects/12345/mcp-analytics/servers/{server_id}/topics/{topic_id}", {
  method: "GET",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "YOUR_API_KEY"
  }
});
const data = await response.json();
```

### PHP

```php
<?php
$ch = curl_init("https://developer-api.amplitude.com/v1/projects/12345/mcp-analytics/servers/{server_id}/topics/{topic_id}");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Content-Type: application/json",
    "Authorization: YOUR_API_KEY"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
```

### Go

```go
package main

import (
  "bytes"
  "net/http"
)

func main() {
req, _ := http.NewRequest("GET", "https://developer-api.amplitude.com/v1/projects/12345/mcp-analytics/servers/{server_id}/topics/{topic_id}", nil)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "YOUR_API_KEY")
  client := &http.Client{}
  resp, _ := client.Do(req)
  defer resp.Body.Close()
}
```

### Java

```java
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://developer-api.amplitude.com/v1/projects/12345/mcp-analytics/servers/{server_id}/topics/{topic_id}"))
      .method("GET", HttpRequest.BodyPublishers.noBody())
.header("Content-Type", "application/json")
      .header("Authorization", "YOUR_API_KEY")
      .build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
```

### Ruby

```ruby
require "net/http"
require "json"

uri = URI("https://developer-api.amplitude.com/v1/projects/12345/mcp-analytics/servers/{server_id}/topics/{topic_id}")
request = Net::HTTP::Get.new(uri)
request["Content-Type"] = "application/json"
request["Authorization"] = "YOUR_API_KEY"
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == "https") do |http|
  http.request(request)
end
```

