List Tunnels
api/beta/tunnels/list
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.
api/beta/tunnels/list Changed · +14 / -15 lines
# List Tunnels ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List Tunnels ### Query Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: List Tunnels -url: https://platform.claude.com/docs/en/api/beta/tunnels/list ---- +# List Tunnels -## List Tunnels +**GET** `/v1/tunnels` -**get** `/v1/tunnels` - The 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. Lists tunnels. Results are ordered by creation time, newest first; archived tunnels are excluded unless include_archived is set. -### Query Parameters +## Query parameters - `include_archived: optional boolean`
Maximum number of tunnels to return per page. Defaults to 20, maximum 1000. + format: int32 + - `page: optional string` Opaque pagination cursor from a previous `list_tunnels` response. -### Header Parameters +## Headers - `"anthropic-beta": optional array of AnthropicBeta`
- `"mid-conversation-tool-changes-2026-07-01"` -### Returns +## Returns - `data: array of BetaTunnel`
A timestamp in RFC 3339 format + format: date-time + - `created_at: string` A timestamp in RFC 3339 format + format: date-time + - `display_name: string or null` Human-readable name for the tunnel (1-255 characters). Null if unset.
- `type: "tunnel"` - - `"tunnel"` - - `next_page: string or null` Pagination cursor for the next page, or null if no more results. -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/tunnels \ -H 'anthropic-version: 2023-06-01' \ -H 'anthropic-beta: mcp-tunnels-2026-06-22' \
-H "X-Api-Key: $ANTHROPIC_API_KEY" ``` -#### Response +### Response (200) ```json {