---
title: List episodes for an MCP topic
description: Returns a page of episode summaries for one topic. The default page size is 25 and the maximum is 100. Keep the same filters when following next cursor .
product: general
lang: en
last_updated: 2026-10-21
token_estimate: 1756
---
# List episodes for an MCP topic

## List episodes for an MCP topic

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

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

> 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}/episodes`
- Production (EU): `https://developer-api.eu.amplitude.com/v1/projects/{project_id}/mcp-analytics/servers/{server_id}/topics/{topic_id}/episodes`

List episodes for an MCP topic

Returns a page of episode summaries for one topic. The default page size
is 25 and the maximum is 100. Keep the same filters
when following `next_cursor`.

## 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. Constraints: min length: 1, max length: 256 |

## Query parameters

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| started_after (query) | string | No | — | Include episodes that started at or after this RFC 3339 timestamp. Constraints: format: date-time |
| started_before (query) | string | No | — | Include episodes that started before this RFC 3339 timestamp. Constraints: format: date-time |
| lane (query) | string | No | — | Exact stored lane. Constraints: min length: 1, max length: 128 |
| client_name (query) | string | No | — | Exact stored client name. Constraints: min length: 1, max length: 256 |
| auth_type (query) | string | No | — | Exact stored auth type. Constraints: min length: 1, max length: 128 |
| has_error (query) | boolean | No | — | Whether the episode recorded an error. |
| is_thrash (query) | boolean | No | — | Whether the episode was classified as thrash. |
| cursor (query) | string | No | — | Opaque cursor from `pagination.next_cursor` on the previous response. Constraints: min length: 1, max length: 2048 |
| limit (query) | integer | No | 25 | Number of episodes to return. Defaults to 25, maximum 100. Constraints: min: 1, max: 100 |

## Response (application/json)

**200** — Episode page. Keep the same filters when requesting the next cursor.

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| data | object[] | Yes | — | — |
| data.id | string | Yes | — | — |
| data.object | string | Yes | — | — |
| data.started_at | string | Yes | — | Constraints: format: date-time |
| data.ended_at | string | Yes | — | Constraints: format: date-time |
| data.call_count | integer | Yes | — | Constraints: min: 0 |
| data.error_count | integer | Yes | — | Constraints: min: 0 |
| data.is_thrash | boolean | Yes | — | — |
| data.client_name | string | Yes | — | — |
| data.lane | string | Yes | — | — |
| data.confidence | number | Yes | — | Constraints: nullable |
| pagination | object | Yes | — | — |
| pagination.next_cursor | string | Yes | — | Cursor for the next page, or `null` on the last page. Chart list responses may stop before all project charts are enumerated because the search backend caps each query at 10,000 sorted hits. Constraints: nullable |
| pagination.has_more | boolean | Yes | — | — |

```json
{
  "data": [
    {
      "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
    }
  ],
  "pagination": {
    "next_cursor": "string",
    "has_more": true
  }
}
```

**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}/episodes?limit=25" \
  -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}/episodes?limit=25",
    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}/episodes?limit=25", {
  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}/episodes?limit=25");
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}/episodes?limit=25", 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}/episodes?limit=25"))
      .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}/episodes?limit=25")
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
```

