List Tunnel Certificates
api/beta/tunnels/certificates/list
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/beta/tunnels/certificates/list Changed · +17 / -16 lines
# List Tunnel Certificates ## Path parameters ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List Tunnel Certificates ### Path Parameters ### Query Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: List Tunnel Certificates -url: https://platform.claude.com/docs/en/api/beta/tunnels/certificates/list ---- +# List Tunnel Certificates -## List Tunnel Certificates +**GET** `/v1/tunnels/{tunnel_id}/certificates` -**get** `/v1/tunnels/{tunnel_id}/certificates` - The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window. Lists the certificates registered on a tunnel. Archived certificates are excluded unless include_archived is set. -### Path Parameters +## Path parameters - `tunnel_id: string` -### Query Parameters +## Query parameters - `include_archived: optional boolean`
Maximum number of certificates to return per page. Defaults to 20, maximum 1000. + format: int32 + - `page: optional string` Opaque pagination cursor from a previous `list_tunnel_certificates` response. -### Header Parameters +## Headers - `"anthropic-beta": optional array of AnthropicBeta`
- `"mid-conversation-tool-changes-2026-07-01"` -### Returns +## Returns - `data: array of BetaTunnelCertificate`
A timestamp in RFC 3339 format + format: date-time + - `created_at: string` A timestamp in RFC 3339 format + format: date-time + - `expires_at: string or null` A timestamp in RFC 3339 format + format: date-time + - `fingerprint: string` Lowercase hex SHA-256 fingerprint of the certificate's DER encoding.
- `type: "tunnel_certificate"` - - `"tunnel_certificate"` - - `next_page: string or null` Pagination cursor for the next page, or null if no more results. -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/tunnels/$TUNNEL_ID/certificates \ -H 'anthropic-version: 2023-06-01' \ -H 'anthropic-beta: mcp-tunnels-2026-06-22' \
-H "X-Api-Key: $ANTHROPIC_API_KEY" ``` -#### Response +### Response (200) ```json {