Claude Platform Docs

터널 토큰 공개

$ ant beta:tunnels reveal-token
POST/v1/tunnels/{tunnel_id}/reveal_token

Tunnels API는 리서치 프리뷰 단계입니다. anthropic-beta: mcp-tunnels-2026-06-22 헤더가 필요하며, 지원 중단 기간 없이 변경될 수 있습니다. 이 API는 /v1/organizations/tunnels의 Admin API 엔드포인트를 대체하며, 해당 엔드포인트는 마이그레이션 기간 동안 계속 사용할 수 있습니다.

터널의 커넥터 토큰을 공개합니다. 값은 호출할 때마다 실시간으로 가져오며, Anthropic은 이를 저장하지 않습니다. 토큰이 교체(rotate)되기 전까지는 반복 호출 시 동일한 값이 반환됩니다. 토큰이 중간 액세스 로그에 나타나지 않도록 POST로 노출됩니다.

Parameters
--tunnel-id: string

Path parameter tunnel_id

--beta: optional array of AnthropicBeta

Optional header to specify the beta version(s) you want to use.

Returns
beta_tunnel_token: object{ id, tunnel_token, type }

A tunnel's connector token.

id: string

Stable identifier for the current token value. Changes when the token is rotated.

tunnel_token: string

The connector token used to run the tunnel. Treat as a credential.

type: "tunnel_token"
터널 토큰 공개
ant beta:tunnels reveal-token \
  --api-key my-anthropic-api-key \
  --tunnel-id tunnel_id
Returns Examples
Response 200
{
  "id": "id",
  "tunnel_token": "tunnel_token",
  "type": "tunnel_token"
}