The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Get Tunnel
3url: https://platform.claude.com/docs/en/api/beta/tunnels/retrieve
4---
5
16# Get Tunnel
27
38**GET** `/v1/tunnels/{tunnel_id}`
from line 23
1823
1924 - `string`
2025
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2227
2328 - `"message-batches-2024-09-24"`
2429
from line 71
6671
6772 - `"user-profiles-2026-08-18"`
6873
74 - `"user-profiles-2026-09-04"`
75
6976 - `"advisor-tool-2026-03-01"`
7077
7178 - `"managed-agents-2026-04-01"`
from line 115
108115
109116 - `"mid-conversation-system-clear-at-2026-08-21"`
110117
118- `"anthropic-workspace-id": optional string`
119
111120## Returns
112121
113122- `BetaTunnel object`
from line 123
114123
115124 An MCP tunnel.
116125
126 - `type: "tunnel"`
127
117128 - `id: string`
118129
119130 Unique identifier for the tunnel, prefixed with `tnl_`.
from line 148
137148 - `domain: string`
138149
139150 Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived.
140
141 - `type: "tunnel"`
142151
143152## Example
144153