---
title: Get an MCP episode
description: "Returns one episode, including its project, server, auth type, and topic breadcrumb. A missing or cross-project episode returns 404."
product: general
lang: en
last_updated: 2026-10-16
token_estimate: 1368
---
# Get an MCP episode

## Get an MCP episode

**GET** `/v1/projects/{project_id}/mcp-analytics/episodes/{episode_id}`

Full URL: `https://developer-api.amplitude.com/v1/projects/{project_id}/mcp-analytics/episodes/{episode_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/episodes/{episode_id}`
- Production (EU): `https://developer-api.eu.amplitude.com/v1/projects/{project_id}/mcp-analytics/episodes/{episode_id}`

Get an MCP episode

Returns one episode, including its project, server, auth type, and topic
breadcrumb. A missing or cross-project episode returns 404.

## 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]+$ |
| episode_id (path) | string | Yes | — | Episode id returned by the topic or episode list. Constraints: min length: 1, max length: 512 |

## Response (application/json)

**200** — Episode detail.

| 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 |
| data.project_id | string | Yes | — | — |
| data.server_id | string | Yes | — | — |
| data.auth_type | string | Yes | — | — |
| data.breadcrumb | object[] | Yes | — | — |
| data.breadcrumb.id | string | Yes | — | Stable topic id, ordered from the root. |
| data.breadcrumb.depth | integer | Yes | — | Constraints: min: 0 |
| data.breadcrumb.name | string | 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,
    "project_id": "string",
    "server_id": "string",
    "auth_type": "string",
    "breadcrumb": [
      {
        "id": "string",
        "depth": 0,
        "name": "string"
      }
    ]
  }
}
```

**400**

**401**

**403**

**404**

**429**

**502**

## Code samples

### cURL

```bash
curl -X GET "https://developer-api.amplitude.com/v1/projects/12345/mcp-analytics/episodes/{episode_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/episodes/{episode_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/episodes/{episode_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/episodes/{episode_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/episodes/{episode_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/episodes/{episode_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/episodes/{episode_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
```

