通道
建立通道
client.beta.tunnels.create(params, options?): BetaTunnelanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.Tunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
取得通道
client.beta.tunnels.retrieve(tunnelID, params?, options?): BetaTunnelanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.Tunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
列出通道
client.beta.tunnels.list(params?, options?): PageCursor<BetaTunnel>anthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.Tunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
封存通道
client.beta.tunnels.archive(tunnelID, params?, options?): BetaTunnelanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.Tunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
顯示通道權杖
client.beta.tunnels.revealToken(tunnelID, params?, options?): BetaTunnelTokenanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.Tunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
輪替通道權杖
client.beta.tunnels.rotateToken(tunnelID, params, options?): BetaTunnelTokenanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.Tunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
Models
通道憑證
建立通道憑證
client.beta.tunnels.certificates.create(tunnelID, params, options?): BetaTunnelCertificateanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.Tunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
取得通道憑證
client.beta.tunnels.certificates.retrieve(certificateID, params, options?): BetaTunnelCertificateanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.Tunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
列出通道憑證
client.beta.tunnels.certificates.list(tunnelID, params?, options?): PageCursor<BetaTunnelCertificate>anthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.Tunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。
封存通道憑證
client.beta.tunnels.certificates.archive(certificateID, params, options?): BetaTunnelCertificateanthropic-beta: mcp-tunnels-2026-06-22. Learn how to send beta headers.Tunnels API 目前為研究預覽版。它需要 anthropic-beta: mcp-tunnels-2026-06-22 標頭,且可能在沒有棄用期的情況下變更。它取代了位於 /v1/organizations/tunnels 的 Admin API 端點,這些端點在遷移期間內仍可使用。