Claude Platform Docs

Certificati

Crea certificato del tunnel
client.Beta.Tunnels.Certificates.New(ctx, tunnelID, params) (*BetaTunnelCertificate, error)
POST/v1/tunnels/{tunnel_id}/certificates

L'API Tunnels è in research preview (anteprima di ricerca). Richiede l'header anthropic-beta: mcp-tunnels-2026-06-22 e può cambiare senza un periodo di deprecazione. Sostituisce gli endpoint dell'Admin API in /v1/organizations/tunnels, che rimangono disponibili durante una finestra di migrazione.

Ottieni certificato del tunnel
client.Beta.Tunnels.Certificates.Get(ctx, certificateID, params) (*BetaTunnelCertificate, error)
GET/v1/tunnels/{tunnel_id}/certificates/{certificate_id}

L'API Tunnels è in research preview (anteprima di ricerca). Richiede l'header anthropic-beta: mcp-tunnels-2026-06-22 e può cambiare senza un periodo di deprecazione. Sostituisce gli endpoint dell'Admin API in /v1/organizations/tunnels, che rimangono disponibili durante una finestra di migrazione.

Elenca certificati del tunnel
client.Beta.Tunnels.Certificates.List(ctx, tunnelID, params) (*PageCursor[BetaTunnelCertificate], error)
GET/v1/tunnels/{tunnel_id}/certificates

L'API Tunnels è in research preview (anteprima di ricerca). Richiede l'header anthropic-beta: mcp-tunnels-2026-06-22 e può cambiare senza un periodo di deprecazione. Sostituisce gli endpoint dell'Admin API in /v1/organizations/tunnels, che rimangono disponibili durante una finestra di migrazione.

Archivia certificato del tunnel
client.Beta.Tunnels.Certificates.Archive(ctx, certificateID, params) (*BetaTunnelCertificate, error)
POST/v1/tunnels/{tunnel_id}/certificates/{certificate_id}/archive

L'API Tunnels è in research preview (anteprima di ricerca). Richiede l'header anthropic-beta: mcp-tunnels-2026-06-22 e può cambiare senza un periodo di deprecazione. Sostituisce gli endpoint dell'Admin API in /v1/organizations/tunnels, che rimangono disponibili durante una finestra di migrazione.

Models
type BetaTunnelCertificate struct { Type: "tunnel_certificate"; ID; ArchivedAt; /* 4 more */ }

A CA certificate attached to a tunnel.

Type TunnelCertificate
ID string

Unique identifier for the certificate, prefixed with tcrt_.

ArchivedAt Time

RFC 3339 datetime string indicating when the certificate was archived. Null if it is still in the trusted set.

formatdate-time
CreatedAt Time

RFC 3339 datetime string indicating when the certificate was registered.

formatdate-time
ExpiresAt Time

RFC 3339 datetime string indicating when the certificate expires, or null if it does not expire.

formatdate-time
Fingerprint string

Lowercase hex SHA-256 fingerprint of the certificate's DER encoding.

TunnelID string

ID of the tunnel the certificate is registered against.