AnthropicClaude 托管智能体
创建隧道证书
为隧道登记一张新的客户端证书。
POST
/anthropic/v1/tunnels/{tunnel_id}/certificates○ 未支持请求参数
tunnel_idstring必填path: 隧道 ID(路径或查询参数)。
ca_certificate_pemstring必填PEM-encoded X.509 CA certificate. Must contain exactly one certificate and no private-key material. Maximum 8KB.
返回
501 平台还没有实现这个端点;调用会得到下面这个响应:
平台还没有提供把智能体接入你自有网络的隧道。调用会返回 501(not_implemented_error),不产生副作用,官方 SDK 不会重试。
错误按 Claude Managed Agents 格式返回,参见 错误码
响应
HTTP 200
Successful response
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| id | string | Unique identifier for the certificate, prefixed with `tcrt_`. |
| archived_at | null | string | A timestamp in RFC 3339 format |
| created_at | string | A timestamp in RFC 3339 format |
| expires_at | null | string | A timestamp in RFC 3339 format |
| fingerprint | string | Lowercase hex SHA-256 fingerprint of the certificate's DER encoding. |
| tunnel_id | string | ID of the tunnel the certificate is registered against. |
| type | string |