跳转到内容
EN

列出隧道证书

GET/anthropic/v1/tunnels/{tunnel_id}/certificates○ 未支持

请求参数

  • tunnel_idstring必填

    path: 隧道 ID(路径或查询参数)。

  • include_archivedboolean可选

    query: 是否包含已归档的记录。

  • limitnumber可选

    query: 每页返回的条数上限。

  • pagestring可选

    query: 分页游标,取自上一页响应的 next_page。

返回

501 平台还没有实现这个端点;调用会得到下面这个响应:

平台还没有提供把智能体接入你自有网络的隧道。调用会返回 501(not_implemented_error),不产生副作用,官方 SDK 不会重试。

错误按 Claude Managed Agents 格式返回,参见 错误码

请求示例

curl
curl https://api.deepraxis.com/anthropic/v1/tunnels/tunnel_123/certificates \
  -H "x-api-key: $PRAXIS_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "anthropic-beta: managed-agents-2026-04-01"
Python
from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.deepraxis.com/anthropic",
    api_key="$PRAXIS_API_KEY",
)

# 官方有、平台未支持:调用得到 501(not_implemented_error),无副作用。
result = client.beta.tunnels.certificates.list("tunnel_123")
print(result)
TypeScript
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  baseURL: "https://api.deepraxis.com/anthropic",
  apiKey: "$PRAXIS_API_KEY",
});

// 官方有、平台未支持:调用得到 501(not_implemented_error),无副作用。
const result = await client.beta.tunnels.certificates.list("tunnel_123");
console.log(result);

响应示例 501

{
  "type": "error",
  "error": {
    "type": "not_implemented_error",
    "message": "Not implemented: this Managed Agents operation is not implemented on this platform yet (GET /v1/tunnels/{tunnel_id}/certificates); see the docs for the supported subset."
  },
  "request_id": "2859955d-d024-493f-ad08-34d7029aa6ff"
}

响应

HTTP 200

Successful response

application/json

名称 类型 说明
data array<object>
data[].id string Unique identifier for the certificate, prefixed with tcrt_.
data[].archived_at null | string A timestamp in RFC 3339 format
data[].created_at string A timestamp in RFC 3339 format
data[].expires_at null | string A timestamp in RFC 3339 format
data[].fingerprint string Lowercase hex SHA-256 fingerprint of the certificate's DER encoding.
data[].tunnel_id string ID of the tunnel the certificate is registered against.
data[].type string
next_page string | null