v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-261319281.7 MB

List 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.

get/v1/tunnels?beta=true

Query parameters

limitinteger

Maximum number of tunnels to return per page. Defaults to 20, maximum 1000.

pagestring

Opaque pagination cursor from a previous list_tunnels response.

include_archivedboolean

Whether to include archived tunnels in the results. Defaults to false.

Headers

x-api-keystring
anthropic-versionstring
anthropic-betastring

Response

Successful response (OK)

next_pagestring nullable required

Pagination cursor for the next page, or null if no more results.