Get Tunnel changedapi/beta/tunnels/retrieve
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+13added
Lines−16removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits18to this page, all time
# Get Tunnel ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Get Tunnel ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Get Tunnel
3url: https://platform.claude.com/docs/en/api/beta/tunnels/retrieve
4---
1# Get Tunnel
52
6## Get Tunnel
3**GET** `/v1/tunnels/{tunnel_id}`
74
8**get** `/v1/tunnels/{tunnel_id}`
9
105The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window.
116
127Fetches a tunnel by ID.
138
14### Path Parameters
9## Path parameters
1510
1611- `tunnel_id: string`
1712
18### Header Parameters
13## Headers
1914
2015- `"anthropic-beta": optional array of AnthropicBeta`
2116
from line 88
9388
9489 - `"mid-conversation-tool-changes-2026-07-01"`
9590
96### Returns
91## Returns
9792
98- `BetaTunnel object { id, archived_at, created_at, 3 more }`
93- `BetaTunnel object`
9994
10095 An MCP tunnel.
10196
from line 102
107102
108103 A timestamp in RFC 3339 format
109104
105 format: date-time
106
110107 - `created_at: string`
111108
112109 A timestamp in RFC 3339 format
113110
111 format: date-time
112
114113 - `display_name: string or null`
115114
116115 Human-readable name for the tunnel (1-255 characters). Null if unset.
from line 120
121120
122121 - `type: "tunnel"`
123122
124 - `"tunnel"`
123## Example
125124
126### Example
127
128```http
125```bash
129126curl https://api.anthropic.com/v1/tunnels/$TUNNEL_ID \
130127 -H 'anthropic-version: 2023-06-01' \
131128 -H 'anthropic-beta: mcp-tunnels-2026-06-22' \
from line 129
132129 -H "X-Api-Key: $ANTHROPIC_API_KEY"
133130```
134131
135#### Response
132### Response (200)
136133
137134```json
138135{
No line in this hunk matches that.