Ottieni tunnel
Deprecated
GET/v1/organizations/tunnels/{tunnel_id}
Deprecato. Questo endpoint dell'Admin API è sostituito da /v1/tunnels sulla Claude API e verrà rimosso dopo una finestra di migrazione. Le nuove integrazioni devono usare /v1/tunnels con l'header anthropic-beta: mcp-tunnels-2026-06-22 e un token WIF con lo scope workspace:manage_tunnels. Le integrazioni esistenti continuano a funzionare con l'header mcp-tunnels-2026-05-19 e lo scope org:manage_tunnels durante la finestra di migrazione.
Recupera un singolo tunnel nell'organizzazione del chiamante tramite ID.
Path parameters
Headers
Returns
Ottieni tunnel
cURL
curl https://api.anthropic.com/v1/organizations/tunnels/$TUNNEL_ID \
-H 'anthropic-version: 2023-06-01' \
-H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"Response 200
{
"id": "tnl_01Hx9Kp2RtQvMn3sWbYdLcF8",
"archived_at": "2024-11-01T23:59:27.427722Z",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "Production",
"domain": "a1b2c3d4.tunnel.anthropic.com",
"type": "tunnel",
"workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
}Returns Examples
Response 200
{
"id": "tnl_01Hx9Kp2RtQvMn3sWbYdLcF8",
"archived_at": "2024-11-01T23:59:27.427722Z",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "Production",
"domain": "a1b2c3d4.tunnel.anthropic.com",
"type": "tunnel",
"workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
}