Skip to content
中文

Create Tunnel Certificate

POST/anthropic/v1/tunnels/{tunnel_id}/certificates○ Unsupported

Request parameters

  • tunnel_idstringrequired

    path: Tunnel ID (path or query parameter).

  • ca_certificate_pemstringrequired

    PEM-encoded X.509 CA certificate. Must contain exactly one certificate and no private-key material. Maximum 8KB.

Returns

501 This endpoint is not implemented yet; calling it returns the response below:

The platform does not offer tunnels that connect agents into your own network yet. Calling it returns 501 (not_implemented_error), produces no side effects, and the official SDK does not retry.

Errors follow the Claude Managed Agents format — see error codes

Request

curl
curl -X POST 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.create("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.create("tunnel_123", {});
console.log(result);

Response 501

{
  "type": "error",
  "error": {
    "type": "not_implemented_error",
    "message": "Not implemented: this Managed Agents operation is not implemented on this platform yet (POST /v1/tunnels/{tunnel_id}/certificates); see the docs for the supported subset."
  },
  "request_id": "01752492-762d-4e1b-b7c3-7947b49b8e4d"
}

Response

HTTP 200

Successful response

application/json

Name Type Description
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