SPB Git

Repository Public

mcp_tunnels.md 40.8 KB 1,784 lines markdown

1---2title: MCP Tunnels3url: https://platform.claude.com/docs/en/api/beta/organization/mcp_tunnels4---56# MCP Tunnels78## List Tunnels910**GET** `/v1/organizations/tunnels`1112**Deprecated**1314**Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window.1516List the organization's tunnels.1718Results span the caller's organization, ordered by creation time19(newest first). Use `workspace_id` to filter to a single workspace;20archived tunnels are excluded unless `include_archived` is set.2122### Query parameters2324- `include_archived: optional boolean`2526  Include archived tunnels in the results. Archived tunnels are excluded by27  default.2829  default: false3031- `limit: optional number`3233  Maximum number of tunnels to return in a single page.3435  default: 20, maximum: 1000, minimum: 13637- `page: optional string`3839  Opaque pagination cursor from a previous response's `next_page`. Omit to40  fetch the first page.4142- `workspace_id: optional string`4344  Return only tunnels in this Workspace. Accepts a `wrkspc_`-prefixed45  Workspace ID; omit to list tunnels across all Workspaces.4647### Headers4849- `"anthropic-beta": array of AnthropicBeta`5051  This endpoint is in beta: requests must send `mcp-tunnels-2026-05-19` in this header.5253  - `string`5455  - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`5657    - `"message-batches-2024-09-24"`5859    - `"prompt-caching-2024-07-31"`6061    - `"computer-use-2024-10-22"`6263    - `"computer-use-2025-01-24"`6465    - `"pdfs-2024-09-25"`6667    - `"token-counting-2024-11-01"`6869    - `"token-efficient-tools-2025-02-19"`7071    - `"output-128k-2025-02-19"`7273    - `"files-api-2025-04-14"`7475    - `"mcp-client-2025-04-04"`7677    - `"mcp-client-2025-11-20"`7879    - `"dev-full-thinking-2025-05-14"`8081    - `"interleaved-thinking-2025-05-14"`8283    - `"code-execution-2025-05-22"`8485    - `"extended-cache-ttl-2025-04-11"`8687    - `"context-1m-2025-08-07"`8889    - `"context-management-2025-06-27"`9091    - `"model-context-window-exceeded-2025-08-26"`9293    - `"skills-2025-10-02"`9495    - `"fast-mode-2026-02-01"`9697    - `"output-300k-2026-03-24"`9899    - `"user-profiles-2026-03-24"`100101    - `"user-profiles-2026-08-18"`102103    - `"user-profiles-2026-09-04"`104105    - `"advisor-tool-2026-03-01"`106107    - `"managed-agents-2026-04-01"`108109    - `"cache-diagnosis-2026-04-07"`110111    - `"dreaming-2026-04-21"`112113    - `"thinking-token-count-2026-05-13"`114115    - `"server-side-fallback-2026-06-01"`116117    - `"server-side-fallback-2026-07-01"`118119    - `"fallback-credit-2026-06-01"`120121    - `"fallback-credit-2026-07-01"`122123    - `"agent-memory-2026-07-22"`124125    - `"mid-conversation-tool-changes-2026-07-01"`126127    - `"compact-2026-01-12"`128129    - `"computer-use-2025-11-24"`130131    - `"mcp-tunnels-2026-06-22"`132133    - `"structured-outputs-2025-11-13"`134135    - `"task-budgets-2026-03-13"`136137    - `"thinking-display-updates-2026-08-18"`138139    - `"ce-user-management-2026-07-13"`140141    - `"mid-conversation-output-config-2026-07-01"`142143    - `"thinking-binding-controls-2026-08-01"`144145    - `"mid-conversation-system-clear-at-2026-08-21"`146147    - `"compact-2026-09-04"`148149### Returns150151- `data: array of BetaOrganizationTunnel`152153  - `type: "tunnel"`154155    Object type. Always `tunnel` for Tunnels.156157    default: tunnel158159  - `id: string`160161    ID of the Tunnel.162163  - `archived_at: string or null`164165    RFC 3339 datetime string indicating when the Tunnel was archived, or166    `null` if it is not archived.167168    format: date-time169170  - `created_at: string`171172    RFC 3339 datetime string indicating when the Tunnel was created.173174    format: date-time175176  - `display_name: string or null`177178    Human-readable name for the Tunnel (1–255 characters), or `null` if unset.179180  - `domain: string`181182    Anthropic-assigned hostname for the Tunnel. MCP server URLs whose host is a183    subdomain of this value are routed through the Tunnel. Globally unique and184    never reused, even after the Tunnel is archived.185186  - `workspace_id: string or null`187188    ID of the Workspace this Tunnel belongs to, or `null` for the default189    Workspace. Immutable after creation.190191- `next_page: string or null`192193  Opaque cursor for the next page, or `null` if there are no more results.194195### Example196197```bash198curl https://api.anthropic.com/v1/organizations/tunnels \199    -H 'anthropic-version: 2023-06-01' \200    -H 'anthropic-beta: mcp-tunnels-2026-05-19' \201    -H "X-Api-Key: $ANTHROPIC_API_KEY"202```203204#### Response (200)205206```json207{208  "data": [209    {210      "id": "tnl_01Hx9Kp2RtQvMn3sWbYdLcF8",211      "archived_at": "2024-11-01T23:59:27.427722Z",212      "created_at": "2024-10-30T23:58:27.427722Z",213      "display_name": "Production",214      "domain": "a1b2c3d4.tunnel.anthropic.com",215      "type": "tunnel",216      "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"217    }218  ],219  "next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="220}221```222223## Get Tunnel224225**GET** `/v1/organizations/tunnels/{tunnel_id}`226227**Deprecated**228229**Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window.230231Retrieve a single tunnel in the caller's organization by ID.232233### Path parameters234235- `tunnel_id: string`236237  ID of the Tunnel.238239### Headers240241- `"anthropic-beta": array of AnthropicBeta`242243  This endpoint is in beta: requests must send `mcp-tunnels-2026-05-19` in this header.244245  - `string`246247  - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`248249    - `"message-batches-2024-09-24"`250251    - `"prompt-caching-2024-07-31"`252253    - `"computer-use-2024-10-22"`254255    - `"computer-use-2025-01-24"`256257    - `"pdfs-2024-09-25"`258259    - `"token-counting-2024-11-01"`260261    - `"token-efficient-tools-2025-02-19"`262263    - `"output-128k-2025-02-19"`264265    - `"files-api-2025-04-14"`266267    - `"mcp-client-2025-04-04"`268269    - `"mcp-client-2025-11-20"`270271    - `"dev-full-thinking-2025-05-14"`272273    - `"interleaved-thinking-2025-05-14"`274275    - `"code-execution-2025-05-22"`276277    - `"extended-cache-ttl-2025-04-11"`278279    - `"context-1m-2025-08-07"`280281    - `"context-management-2025-06-27"`282283    - `"model-context-window-exceeded-2025-08-26"`284285    - `"skills-2025-10-02"`286287    - `"fast-mode-2026-02-01"`288289    - `"output-300k-2026-03-24"`290291    - `"user-profiles-2026-03-24"`292293    - `"user-profiles-2026-08-18"`294295    - `"user-profiles-2026-09-04"`296297    - `"advisor-tool-2026-03-01"`298299    - `"managed-agents-2026-04-01"`300301    - `"cache-diagnosis-2026-04-07"`302303    - `"dreaming-2026-04-21"`304305    - `"thinking-token-count-2026-05-13"`306307    - `"server-side-fallback-2026-06-01"`308309    - `"server-side-fallback-2026-07-01"`310311    - `"fallback-credit-2026-06-01"`312313    - `"fallback-credit-2026-07-01"`314315    - `"agent-memory-2026-07-22"`316317    - `"mid-conversation-tool-changes-2026-07-01"`318319    - `"compact-2026-01-12"`320321    - `"computer-use-2025-11-24"`322323    - `"mcp-tunnels-2026-06-22"`324325    - `"structured-outputs-2025-11-13"`326327    - `"task-budgets-2026-03-13"`328329    - `"thinking-display-updates-2026-08-18"`330331    - `"ce-user-management-2026-07-13"`332333    - `"mid-conversation-output-config-2026-07-01"`334335    - `"thinking-binding-controls-2026-08-01"`336337    - `"mid-conversation-system-clear-at-2026-08-21"`338339    - `"compact-2026-09-04"`340341### Returns342343- `BetaOrganizationTunnel object`344345  - `type: "tunnel"`346347    Object type. Always `tunnel` for Tunnels.348349    default: tunnel350351  - `id: string`352353    ID of the Tunnel.354355  - `archived_at: string or null`356357    RFC 3339 datetime string indicating when the Tunnel was archived, or358    `null` if it is not archived.359360    format: date-time361362  - `created_at: string`363364    RFC 3339 datetime string indicating when the Tunnel was created.365366    format: date-time367368  - `display_name: string or null`369370    Human-readable name for the Tunnel (1–255 characters), or `null` if unset.371372  - `domain: string`373374    Anthropic-assigned hostname for the Tunnel. MCP server URLs whose host is a375    subdomain of this value are routed through the Tunnel. Globally unique and376    never reused, even after the Tunnel is archived.377378  - `workspace_id: string or null`379380    ID of the Workspace this Tunnel belongs to, or `null` for the default381    Workspace. Immutable after creation.382383### Example384385```bash386curl https://api.anthropic.com/v1/organizations/tunnels/$TUNNEL_ID \387    -H 'anthropic-version: 2023-06-01' \388    -H 'anthropic-beta: mcp-tunnels-2026-05-19' \389    -H "X-Api-Key: $ANTHROPIC_API_KEY"390```391392#### Response (200)393394```json395{396  "id": "tnl_01Hx9Kp2RtQvMn3sWbYdLcF8",397  "archived_at": "2024-11-01T23:59:27.427722Z",398  "created_at": "2024-10-30T23:58:27.427722Z",399  "display_name": "Production",400  "domain": "a1b2c3d4.tunnel.anthropic.com",401  "type": "tunnel",402  "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"403}404```405406## Archive Tunnel407408**POST** `/v1/organizations/tunnels/{tunnel_id}/archive`409410**Deprecated**411412**Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window.413414Archive a tunnel. Archival is irreversible.415416Every non-archived certificate on the tunnel is archived in the same417operation, the hostname is retired and never re-allocated, and the418tunnel token is invalidated. Retrying against an already-archived419tunnel returns the existing record unchanged.420421### Path parameters422423- `tunnel_id: string`424425  ID of the Tunnel.426427### Headers428429- `"anthropic-beta": array of AnthropicBeta`430431  This endpoint is in beta: requests must send `mcp-tunnels-2026-05-19` in this header.432433  - `string`434435  - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`436437    - `"message-batches-2024-09-24"`438439    - `"prompt-caching-2024-07-31"`440441    - `"computer-use-2024-10-22"`442443    - `"computer-use-2025-01-24"`444445    - `"pdfs-2024-09-25"`446447    - `"token-counting-2024-11-01"`448449    - `"token-efficient-tools-2025-02-19"`450451    - `"output-128k-2025-02-19"`452453    - `"files-api-2025-04-14"`454455    - `"mcp-client-2025-04-04"`456457    - `"mcp-client-2025-11-20"`458459    - `"dev-full-thinking-2025-05-14"`460461    - `"interleaved-thinking-2025-05-14"`462463    - `"code-execution-2025-05-22"`464465    - `"extended-cache-ttl-2025-04-11"`466467    - `"context-1m-2025-08-07"`468469    - `"context-management-2025-06-27"`470471    - `"model-context-window-exceeded-2025-08-26"`472473    - `"skills-2025-10-02"`474475    - `"fast-mode-2026-02-01"`476477    - `"output-300k-2026-03-24"`478479    - `"user-profiles-2026-03-24"`480481    - `"user-profiles-2026-08-18"`482483    - `"user-profiles-2026-09-04"`484485    - `"advisor-tool-2026-03-01"`486487    - `"managed-agents-2026-04-01"`488489    - `"cache-diagnosis-2026-04-07"`490491    - `"dreaming-2026-04-21"`492493    - `"thinking-token-count-2026-05-13"`494495    - `"server-side-fallback-2026-06-01"`496497    - `"server-side-fallback-2026-07-01"`498499    - `"fallback-credit-2026-06-01"`500501    - `"fallback-credit-2026-07-01"`502503    - `"agent-memory-2026-07-22"`504505    - `"mid-conversation-tool-changes-2026-07-01"`506507    - `"compact-2026-01-12"`508509    - `"computer-use-2025-11-24"`510511    - `"mcp-tunnels-2026-06-22"`512513    - `"structured-outputs-2025-11-13"`514515    - `"task-budgets-2026-03-13"`516517    - `"thinking-display-updates-2026-08-18"`518519    - `"ce-user-management-2026-07-13"`520521    - `"mid-conversation-output-config-2026-07-01"`522523    - `"thinking-binding-controls-2026-08-01"`524525    - `"mid-conversation-system-clear-at-2026-08-21"`526527    - `"compact-2026-09-04"`528529### Returns530531- `BetaOrganizationTunnel object`532533  - `type: "tunnel"`534535    Object type. Always `tunnel` for Tunnels.536537    default: tunnel538539  - `id: string`540541    ID of the Tunnel.542543  - `archived_at: string or null`544545    RFC 3339 datetime string indicating when the Tunnel was archived, or546    `null` if it is not archived.547548    format: date-time549550  - `created_at: string`551552    RFC 3339 datetime string indicating when the Tunnel was created.553554    format: date-time555556  - `display_name: string or null`557558    Human-readable name for the Tunnel (1–255 characters), or `null` if unset.559560  - `domain: string`561562    Anthropic-assigned hostname for the Tunnel. MCP server URLs whose host is a563    subdomain of this value are routed through the Tunnel. Globally unique and564    never reused, even after the Tunnel is archived.565566  - `workspace_id: string or null`567568    ID of the Workspace this Tunnel belongs to, or `null` for the default569    Workspace. Immutable after creation.570571### Example572573```bash574curl https://api.anthropic.com/v1/organizations/tunnels/$TUNNEL_ID/archive \575    -X POST \576    -H 'anthropic-version: 2023-06-01' \577    -H 'anthropic-beta: mcp-tunnels-2026-05-19' \578    -H "X-Api-Key: $ANTHROPIC_API_KEY"579```580581#### Response (200)582583```json584{585  "id": "tnl_01Hx9Kp2RtQvMn3sWbYdLcF8",586  "archived_at": "2024-11-01T23:59:27.427722Z",587  "created_at": "2024-10-30T23:58:27.427722Z",588  "display_name": "Production",589  "domain": "a1b2c3d4.tunnel.anthropic.com",590  "type": "tunnel",591  "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"592}593```594595## Reveal Tunnel Token596597**POST** `/v1/organizations/tunnels/{tunnel_id}/reveal_token`598599**Deprecated**600601**Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window.602603Return the tunnel's current connection token.604605The value is fetched live on each call; Anthropic does not store it.606Repeated calls return the same value until the token is rotated.607Exposed as `POST` so the token does not appear in intermediary608access logs.609610### Path parameters611612- `tunnel_id: string`613614  ID of the Tunnel.615616### Headers617618- `"anthropic-beta": array of AnthropicBeta`619620  This endpoint is in beta: requests must send `mcp-tunnels-2026-05-19` in this header.621622  - `string`623624  - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`625626    - `"message-batches-2024-09-24"`627628    - `"prompt-caching-2024-07-31"`629630    - `"computer-use-2024-10-22"`631632    - `"computer-use-2025-01-24"`633634    - `"pdfs-2024-09-25"`635636    - `"token-counting-2024-11-01"`637638    - `"token-efficient-tools-2025-02-19"`639640    - `"output-128k-2025-02-19"`641642    - `"files-api-2025-04-14"`643644    - `"mcp-client-2025-04-04"`645646    - `"mcp-client-2025-11-20"`647648    - `"dev-full-thinking-2025-05-14"`649650    - `"interleaved-thinking-2025-05-14"`651652    - `"code-execution-2025-05-22"`653654    - `"extended-cache-ttl-2025-04-11"`655656    - `"context-1m-2025-08-07"`657658    - `"context-management-2025-06-27"`659660    - `"model-context-window-exceeded-2025-08-26"`661662    - `"skills-2025-10-02"`663664    - `"fast-mode-2026-02-01"`665666    - `"output-300k-2026-03-24"`667668    - `"user-profiles-2026-03-24"`669670    - `"user-profiles-2026-08-18"`671672    - `"user-profiles-2026-09-04"`673674    - `"advisor-tool-2026-03-01"`675676    - `"managed-agents-2026-04-01"`677678    - `"cache-diagnosis-2026-04-07"`679680    - `"dreaming-2026-04-21"`681682    - `"thinking-token-count-2026-05-13"`683684    - `"server-side-fallback-2026-06-01"`685686    - `"server-side-fallback-2026-07-01"`687688    - `"fallback-credit-2026-06-01"`689690    - `"fallback-credit-2026-07-01"`691692    - `"agent-memory-2026-07-22"`693694    - `"mid-conversation-tool-changes-2026-07-01"`695696    - `"compact-2026-01-12"`697698    - `"computer-use-2025-11-24"`699700    - `"mcp-tunnels-2026-06-22"`701702    - `"structured-outputs-2025-11-13"`703704    - `"task-budgets-2026-03-13"`705706    - `"thinking-display-updates-2026-08-18"`707708    - `"ce-user-management-2026-07-13"`709710    - `"mid-conversation-output-config-2026-07-01"`711712    - `"thinking-binding-controls-2026-08-01"`713714    - `"mid-conversation-system-clear-at-2026-08-21"`715716    - `"compact-2026-09-04"`717718### Returns719720- `BetaOrganizationTunnelToken object`721722  - `type: "tunnel_token"`723724    Object type. Always `tunnel_token` for Tunnel Tokens.725726    default: tunnel_token727728  - `id: string`729730    Stable identifier for the current token value. Changes when the token is731    rotated.732733  - `tunnel_token: string`734735    The tunnel's connection token.736737### Example738739```bash740curl https://api.anthropic.com/v1/organizations/tunnels/$TUNNEL_ID/reveal_token \741    -X POST \742    -H 'anthropic-version: 2023-06-01' \743    -H 'anthropic-beta: mcp-tunnels-2026-05-19' \744    -H "X-Api-Key: $ANTHROPIC_API_KEY"745```746747#### Response (200)748749```json750{751  "id": "ttkn_bb97000eaec162831399ca9b6684a4fdf5be49ace5683057b017aab5c87e19e0",752  "tunnel_token": "eyJhIjoiRVhBTVBMRSIsInQiOiJFWEFNUExFIiwicyI6IkVYQU1QTEUifQ==",753  "type": "tunnel_token"754}755```756757## Rotate Tunnel Token758759**POST** `/v1/organizations/tunnels/{tunnel_id}/rotate_token`760761**Deprecated**762763**Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window.764765Invalidate the tunnel's current token for new connections and return a fresh value.766767Established connections are not severed by rotation; a connector768restarted after rotation must use the new value. An optional769`reason` is captured for operational context.770771### Path parameters772773- `tunnel_id: string`774775  ID of the Tunnel.776777### Headers778779- `"anthropic-beta": array of AnthropicBeta`780781  This endpoint is in beta: requests must send `mcp-tunnels-2026-05-19` in this header.782783  - `string`784785  - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`786787    - `"message-batches-2024-09-24"`788789    - `"prompt-caching-2024-07-31"`790791    - `"computer-use-2024-10-22"`792793    - `"computer-use-2025-01-24"`794795    - `"pdfs-2024-09-25"`796797    - `"token-counting-2024-11-01"`798799    - `"token-efficient-tools-2025-02-19"`800801    - `"output-128k-2025-02-19"`802803    - `"files-api-2025-04-14"`804805    - `"mcp-client-2025-04-04"`806807    - `"mcp-client-2025-11-20"`808809    - `"dev-full-thinking-2025-05-14"`810811    - `"interleaved-thinking-2025-05-14"`812813    - `"code-execution-2025-05-22"`814815    - `"extended-cache-ttl-2025-04-11"`816817    - `"context-1m-2025-08-07"`818819    - `"context-management-2025-06-27"`820821    - `"model-context-window-exceeded-2025-08-26"`822823    - `"skills-2025-10-02"`824825    - `"fast-mode-2026-02-01"`826827    - `"output-300k-2026-03-24"`828829    - `"user-profiles-2026-03-24"`830831    - `"user-profiles-2026-08-18"`832833    - `"user-profiles-2026-09-04"`834835    - `"advisor-tool-2026-03-01"`836837    - `"managed-agents-2026-04-01"`838839    - `"cache-diagnosis-2026-04-07"`840841    - `"dreaming-2026-04-21"`842843    - `"thinking-token-count-2026-05-13"`844845    - `"server-side-fallback-2026-06-01"`846847    - `"server-side-fallback-2026-07-01"`848849    - `"fallback-credit-2026-06-01"`850851    - `"fallback-credit-2026-07-01"`852853    - `"agent-memory-2026-07-22"`854855    - `"mid-conversation-tool-changes-2026-07-01"`856857    - `"compact-2026-01-12"`858859    - `"computer-use-2025-11-24"`860861    - `"mcp-tunnels-2026-06-22"`862863    - `"structured-outputs-2025-11-13"`864865    - `"task-budgets-2026-03-13"`866867    - `"thinking-display-updates-2026-08-18"`868869    - `"ce-user-management-2026-07-13"`870871    - `"mid-conversation-output-config-2026-07-01"`872873    - `"thinking-binding-controls-2026-08-01"`874875    - `"mid-conversation-system-clear-at-2026-08-21"`876877    - `"compact-2026-09-04"`878879### Body parameters880881- `reason: optional string or null`882883  Optional free-text reason for the rotation, recorded for audit.884885  maxLength: 1024886887### Returns888889- `BetaOrganizationTunnelToken object`890891  - `type: "tunnel_token"`892893    Object type. Always `tunnel_token` for Tunnel Tokens.894895    default: tunnel_token896897  - `id: string`898899    Stable identifier for the current token value. Changes when the token is900    rotated.901902  - `tunnel_token: string`903904    The tunnel's connection token.905906### Example907908```bash909curl https://api.anthropic.com/v1/organizations/tunnels/$TUNNEL_ID/rotate_token \910    -X POST \911    -H 'anthropic-version: 2023-06-01' \912    -H 'anthropic-beta: mcp-tunnels-2026-05-19' \913    -H "X-Api-Key: $ANTHROPIC_API_KEY"914```915916#### Response (200)917918```json919{920  "id": "ttkn_bb97000eaec162831399ca9b6684a4fdf5be49ace5683057b017aab5c87e19e0",921  "tunnel_token": "eyJhIjoiRVhBTVBMRSIsInQiOiJFWEFNUExFIiwicyI6IkVYQU1QTEUifQ==",922  "type": "tunnel_token"923}924```925926## Domain types927928### Beta Organization Tunnel929930- `BetaOrganizationTunnel object`931932  - `type: "tunnel"`933934    Object type. Always `tunnel` for Tunnels.935936    default: tunnel937938  - `id: string`939940    ID of the Tunnel.941942  - `archived_at: string or null`943944    RFC 3339 datetime string indicating when the Tunnel was archived, or945    `null` if it is not archived.946947    format: date-time948949  - `created_at: string`950951    RFC 3339 datetime string indicating when the Tunnel was created.952953    format: date-time954955  - `display_name: string or null`956957    Human-readable name for the Tunnel (1–255 characters), or `null` if unset.958959  - `domain: string`960961    Anthropic-assigned hostname for the Tunnel. MCP server URLs whose host is a962    subdomain of this value are routed through the Tunnel. Globally unique and963    never reused, even after the Tunnel is archived.964965  - `workspace_id: string or null`966967    ID of the Workspace this Tunnel belongs to, or `null` for the default968    Workspace. Immutable after creation.969970### Beta Organization Tunnel Token971972- `BetaOrganizationTunnelToken object`973974  - `type: "tunnel_token"`975976    Object type. Always `tunnel_token` for Tunnel Tokens.977978    default: tunnel_token979980  - `id: string`981982    Stable identifier for the current token value. Changes when the token is983    rotated.984985  - `tunnel_token: string`986987    The tunnel's connection token.988989## MCP Tunnels › Tunnel Certificates990991### Create Tunnel Certificate992993**POST** `/v1/organizations/tunnels/{tunnel_id}/certificates`994995**Deprecated**996997**Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window.998999Register a public CA certificate for the tunnel.10001001Anthropic verifies the gateway's server certificate against this CA1002when it terminates the inner TLS session. The PEM body must contain1003exactly one X.509 certificate and no private-key material. A tunnel1004holds at most two non-archived certificates.10051006#### Path parameters10071008- `tunnel_id: string`10091010  ID of the Tunnel.10111012#### Headers10131014- `"anthropic-beta": array of AnthropicBeta`10151016  This endpoint is in beta: requests must send `mcp-tunnels-2026-05-19` in this header.10171018  - `string`10191020  - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`10211022    - `"message-batches-2024-09-24"`10231024    - `"prompt-caching-2024-07-31"`10251026    - `"computer-use-2024-10-22"`10271028    - `"computer-use-2025-01-24"`10291030    - `"pdfs-2024-09-25"`10311032    - `"token-counting-2024-11-01"`10331034    - `"token-efficient-tools-2025-02-19"`10351036    - `"output-128k-2025-02-19"`10371038    - `"files-api-2025-04-14"`10391040    - `"mcp-client-2025-04-04"`10411042    - `"mcp-client-2025-11-20"`10431044    - `"dev-full-thinking-2025-05-14"`10451046    - `"interleaved-thinking-2025-05-14"`10471048    - `"code-execution-2025-05-22"`10491050    - `"extended-cache-ttl-2025-04-11"`10511052    - `"context-1m-2025-08-07"`10531054    - `"context-management-2025-06-27"`10551056    - `"model-context-window-exceeded-2025-08-26"`10571058    - `"skills-2025-10-02"`10591060    - `"fast-mode-2026-02-01"`10611062    - `"output-300k-2026-03-24"`10631064    - `"user-profiles-2026-03-24"`10651066    - `"user-profiles-2026-08-18"`10671068    - `"user-profiles-2026-09-04"`10691070    - `"advisor-tool-2026-03-01"`10711072    - `"managed-agents-2026-04-01"`10731074    - `"cache-diagnosis-2026-04-07"`10751076    - `"dreaming-2026-04-21"`10771078    - `"thinking-token-count-2026-05-13"`10791080    - `"server-side-fallback-2026-06-01"`10811082    - `"server-side-fallback-2026-07-01"`10831084    - `"fallback-credit-2026-06-01"`10851086    - `"fallback-credit-2026-07-01"`10871088    - `"agent-memory-2026-07-22"`10891090    - `"mid-conversation-tool-changes-2026-07-01"`10911092    - `"compact-2026-01-12"`10931094    - `"computer-use-2025-11-24"`10951096    - `"mcp-tunnels-2026-06-22"`10971098    - `"structured-outputs-2025-11-13"`10991100    - `"task-budgets-2026-03-13"`11011102    - `"thinking-display-updates-2026-08-18"`11031104    - `"ce-user-management-2026-07-13"`11051106    - `"mid-conversation-output-config-2026-07-01"`11071108    - `"thinking-binding-controls-2026-08-01"`11091110    - `"mid-conversation-system-clear-at-2026-08-21"`11111112    - `"compact-2026-09-04"`11131114#### Body parameters11151116- `ca_certificate_pem: string`11171118  PEM-encoded X.509 CA certificate. Must contain exactly one certificate and1119  no private-key material.11201121  maxLength: 819211221123#### Returns11241125- `BetaOrganizationTunnelCertificate object`11261127  - `type: "tunnel_certificate"`11281129    Object type. Always `tunnel_certificate` for Tunnel Certificates.11301131    default: tunnel_certificate11321133  - `id: string`11341135    ID of the Tunnel Certificate.11361137  - `archived_at: string or null`11381139    RFC 3339 datetime string indicating when the certificate was archived, or1140    `null` if it is not archived.11411142    format: date-time11431144  - `created_at: string`11451146    RFC 3339 datetime string indicating when the certificate was registered.11471148    format: date-time11491150  - `expires_at: string or null`11511152    RFC 3339 datetime string indicating when the certificate expires, or1153    `null` if it does not expire.11541155    format: date-time11561157  - `fingerprint: string`11581159    The certificate's SHA-256 fingerprint, as a lowercase hex string.11601161  - `tunnel_id: string`11621163    ID of the Tunnel this certificate is registered against.11641165#### Example11661167```bash1168curl https://api.anthropic.com/v1/organizations/tunnels/$TUNNEL_ID/certificates \1169    -H 'Content-Type: application/json' \1170    -H 'anthropic-version: 2023-06-01' \1171    -H 'anthropic-beta: mcp-tunnels-2026-05-19' \1172    -H "X-Api-Key: $ANTHROPIC_API_KEY" \1173    -d '{1174          "ca_certificate_pem": "-----BEGIN CERTIFICATE-----\nMIIBexampleEXAMPLEexampleEXAMPLEexampleEXAMPLEexampleEXAMPLEexa\n...illustrative placeholder, not a real certificate...\n-----END CERTIFICATE-----\n"1175        }'1176```11771178##### Response (200)11791180```json1181{1182  "id": "tcrt_01JmWq4ZxnBvR7tKpY2sLdH9",1183  "archived_at": "2024-11-01T23:59:27.427722Z",1184  "created_at": "2024-10-30T23:58:27.427722Z",1185  "expires_at": "2024-10-30T23:58:27.427722Z",1186  "fingerprint": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",1187  "tunnel_id": "tnl_01Hx9Kp2RtQvMn3sWbYdLcF8",1188  "type": "tunnel_certificate"1189}1190```11911192### List Tunnel Certificates11931194**GET** `/v1/organizations/tunnels/{tunnel_id}/certificates`11951196**Deprecated**11971198**Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window.11991200List the certificates registered on a tunnel.12011202Archived certificates are excluded unless `include_archived` is set.12031204#### Path parameters12051206- `tunnel_id: string`12071208  ID of the Tunnel.12091210#### Query parameters12111212- `include_archived: optional boolean`12131214  Include archived certificates in the results. Archived certificates are1215  excluded by default.12161217  default: false12181219- `limit: optional number`12201221  Maximum number of certificates to return.12221223  default: 20, maximum: 1000, minimum: 112241225- `page: optional string`12261227  A tunnel has at most two active certificates, so this list is not1228  paginated.12291230#### Headers12311232- `"anthropic-beta": array of AnthropicBeta`12331234  This endpoint is in beta: requests must send `mcp-tunnels-2026-05-19` in this header.12351236  - `string`12371238  - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`12391240    - `"message-batches-2024-09-24"`12411242    - `"prompt-caching-2024-07-31"`12431244    - `"computer-use-2024-10-22"`12451246    - `"computer-use-2025-01-24"`12471248    - `"pdfs-2024-09-25"`12491250    - `"token-counting-2024-11-01"`12511252    - `"token-efficient-tools-2025-02-19"`12531254    - `"output-128k-2025-02-19"`12551256    - `"files-api-2025-04-14"`12571258    - `"mcp-client-2025-04-04"`12591260    - `"mcp-client-2025-11-20"`12611262    - `"dev-full-thinking-2025-05-14"`12631264    - `"interleaved-thinking-2025-05-14"`12651266    - `"code-execution-2025-05-22"`12671268    - `"extended-cache-ttl-2025-04-11"`12691270    - `"context-1m-2025-08-07"`12711272    - `"context-management-2025-06-27"`12731274    - `"model-context-window-exceeded-2025-08-26"`12751276    - `"skills-2025-10-02"`12771278    - `"fast-mode-2026-02-01"`12791280    - `"output-300k-2026-03-24"`12811282    - `"user-profiles-2026-03-24"`12831284    - `"user-profiles-2026-08-18"`12851286    - `"user-profiles-2026-09-04"`12871288    - `"advisor-tool-2026-03-01"`12891290    - `"managed-agents-2026-04-01"`12911292    - `"cache-diagnosis-2026-04-07"`12931294    - `"dreaming-2026-04-21"`12951296    - `"thinking-token-count-2026-05-13"`12971298    - `"server-side-fallback-2026-06-01"`12991300    - `"server-side-fallback-2026-07-01"`13011302    - `"fallback-credit-2026-06-01"`13031304    - `"fallback-credit-2026-07-01"`13051306    - `"agent-memory-2026-07-22"`13071308    - `"mid-conversation-tool-changes-2026-07-01"`13091310    - `"compact-2026-01-12"`13111312    - `"computer-use-2025-11-24"`13131314    - `"mcp-tunnels-2026-06-22"`13151316    - `"structured-outputs-2025-11-13"`13171318    - `"task-budgets-2026-03-13"`13191320    - `"thinking-display-updates-2026-08-18"`13211322    - `"ce-user-management-2026-07-13"`13231324    - `"mid-conversation-output-config-2026-07-01"`13251326    - `"thinking-binding-controls-2026-08-01"`13271328    - `"mid-conversation-system-clear-at-2026-08-21"`13291330    - `"compact-2026-09-04"`13311332#### Returns13331334- `data: array of BetaOrganizationTunnelCertificate`13351336  - `type: "tunnel_certificate"`13371338    Object type. Always `tunnel_certificate` for Tunnel Certificates.13391340    default: tunnel_certificate13411342  - `id: string`13431344    ID of the Tunnel Certificate.13451346  - `archived_at: string or null`13471348    RFC 3339 datetime string indicating when the certificate was archived, or1349    `null` if it is not archived.13501351    format: date-time13521353  - `created_at: string`13541355    RFC 3339 datetime string indicating when the certificate was registered.13561357    format: date-time13581359  - `expires_at: string or null`13601361    RFC 3339 datetime string indicating when the certificate expires, or1362    `null` if it does not expire.13631364    format: date-time13651366  - `fingerprint: string`13671368    The certificate's SHA-256 fingerprint, as a lowercase hex string.13691370  - `tunnel_id: string`13711372    ID of the Tunnel this certificate is registered against.13731374- `next_page: string or null`13751376  Opaque cursor for the next page, or `null` if there are no more results.13771378#### Example13791380```bash1381curl https://api.anthropic.com/v1/organizations/tunnels/$TUNNEL_ID/certificates \1382    -H 'anthropic-version: 2023-06-01' \1383    -H 'anthropic-beta: mcp-tunnels-2026-05-19' \1384    -H "X-Api-Key: $ANTHROPIC_API_KEY"1385```13861387##### Response (200)13881389```json1390{1391  "data": [1392    {1393      "id": "tcrt_01JmWq4ZxnBvR7tKpY2sLdH9",1394      "archived_at": "2024-11-01T23:59:27.427722Z",1395      "created_at": "2024-10-30T23:58:27.427722Z",1396      "expires_at": "2024-10-30T23:58:27.427722Z",1397      "fingerprint": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",1398      "tunnel_id": "tnl_01Hx9Kp2RtQvMn3sWbYdLcF8",1399      "type": "tunnel_certificate"1400    }1401  ],1402  "next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="1403}1404```14051406### Get Tunnel Certificate14071408**GET** `/v1/organizations/tunnels/{tunnel_id}/certificates/{certificate_id}`14091410**Deprecated**14111412**Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window.14131414Retrieve a single certificate registered on a tunnel by ID.14151416#### Path parameters14171418- `tunnel_id: string`14191420  ID of the Tunnel.14211422- `certificate_id: string`14231424  ID of the Tunnel Certificate.14251426#### Headers14271428- `"anthropic-beta": array of AnthropicBeta`14291430  This endpoint is in beta: requests must send `mcp-tunnels-2026-05-19` in this header.14311432  - `string`14331434  - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`14351436    - `"message-batches-2024-09-24"`14371438    - `"prompt-caching-2024-07-31"`14391440    - `"computer-use-2024-10-22"`14411442    - `"computer-use-2025-01-24"`14431444    - `"pdfs-2024-09-25"`14451446    - `"token-counting-2024-11-01"`14471448    - `"token-efficient-tools-2025-02-19"`14491450    - `"output-128k-2025-02-19"`14511452    - `"files-api-2025-04-14"`14531454    - `"mcp-client-2025-04-04"`14551456    - `"mcp-client-2025-11-20"`14571458    - `"dev-full-thinking-2025-05-14"`14591460    - `"interleaved-thinking-2025-05-14"`14611462    - `"code-execution-2025-05-22"`14631464    - `"extended-cache-ttl-2025-04-11"`14651466    - `"context-1m-2025-08-07"`14671468    - `"context-management-2025-06-27"`14691470    - `"model-context-window-exceeded-2025-08-26"`14711472    - `"skills-2025-10-02"`14731474    - `"fast-mode-2026-02-01"`14751476    - `"output-300k-2026-03-24"`14771478    - `"user-profiles-2026-03-24"`14791480    - `"user-profiles-2026-08-18"`14811482    - `"user-profiles-2026-09-04"`14831484    - `"advisor-tool-2026-03-01"`14851486    - `"managed-agents-2026-04-01"`14871488    - `"cache-diagnosis-2026-04-07"`14891490    - `"dreaming-2026-04-21"`14911492    - `"thinking-token-count-2026-05-13"`14931494    - `"server-side-fallback-2026-06-01"`14951496    - `"server-side-fallback-2026-07-01"`14971498    - `"fallback-credit-2026-06-01"`14991500    - `"fallback-credit-2026-07-01"`15011502    - `"agent-memory-2026-07-22"`15031504    - `"mid-conversation-tool-changes-2026-07-01"`15051506    - `"compact-2026-01-12"`15071508    - `"computer-use-2025-11-24"`15091510    - `"mcp-tunnels-2026-06-22"`15111512    - `"structured-outputs-2025-11-13"`15131514    - `"task-budgets-2026-03-13"`15151516    - `"thinking-display-updates-2026-08-18"`15171518    - `"ce-user-management-2026-07-13"`15191520    - `"mid-conversation-output-config-2026-07-01"`15211522    - `"thinking-binding-controls-2026-08-01"`15231524    - `"mid-conversation-system-clear-at-2026-08-21"`15251526    - `"compact-2026-09-04"`15271528#### Returns15291530- `BetaOrganizationTunnelCertificate object`15311532  - `type: "tunnel_certificate"`15331534    Object type. Always `tunnel_certificate` for Tunnel Certificates.15351536    default: tunnel_certificate15371538  - `id: string`15391540    ID of the Tunnel Certificate.15411542  - `archived_at: string or null`15431544    RFC 3339 datetime string indicating when the certificate was archived, or1545    `null` if it is not archived.15461547    format: date-time15481549  - `created_at: string`15501551    RFC 3339 datetime string indicating when the certificate was registered.15521553    format: date-time15541555  - `expires_at: string or null`15561557    RFC 3339 datetime string indicating when the certificate expires, or1558    `null` if it does not expire.15591560    format: date-time15611562  - `fingerprint: string`15631564    The certificate's SHA-256 fingerprint, as a lowercase hex string.15651566  - `tunnel_id: string`15671568    ID of the Tunnel this certificate is registered against.15691570#### Example15711572```bash1573curl https://api.anthropic.com/v1/organizations/tunnels/$TUNNEL_ID/certificates/$CERTIFICATE_ID \1574    -H 'anthropic-version: 2023-06-01' \1575    -H 'anthropic-beta: mcp-tunnels-2026-05-19' \1576    -H "X-Api-Key: $ANTHROPIC_API_KEY"1577```15781579##### Response (200)15801581```json1582{1583  "id": "tcrt_01JmWq4ZxnBvR7tKpY2sLdH9",1584  "archived_at": "2024-11-01T23:59:27.427722Z",1585  "created_at": "2024-10-30T23:58:27.427722Z",1586  "expires_at": "2024-10-30T23:58:27.427722Z",1587  "fingerprint": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",1588  "tunnel_id": "tnl_01Hx9Kp2RtQvMn3sWbYdLcF8",1589  "type": "tunnel_certificate"1590}1591```15921593### Archive Tunnel Certificate15941595**POST** `/v1/organizations/tunnels/{tunnel_id}/certificates/{certificate_id}/archive`15961597**Deprecated**15981599**Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window.16001601Archive a certificate, removing it from the set Anthropic trusts for this tunnel.16021603The certificate record is retained. Archiving the last non-archived1604certificate is permitted; the tunnel rejects MCP traffic until a new1605certificate is added.16061607#### Path parameters16081609- `tunnel_id: string`16101611  ID of the Tunnel.16121613- `certificate_id: string`16141615  ID of the Tunnel Certificate.16161617#### Headers16181619- `"anthropic-beta": array of AnthropicBeta`16201621  This endpoint is in beta: requests must send `mcp-tunnels-2026-05-19` in this header.16221623  - `string`16241625  - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`16261627    - `"message-batches-2024-09-24"`16281629    - `"prompt-caching-2024-07-31"`16301631    - `"computer-use-2024-10-22"`16321633    - `"computer-use-2025-01-24"`16341635    - `"pdfs-2024-09-25"`16361637    - `"token-counting-2024-11-01"`16381639    - `"token-efficient-tools-2025-02-19"`16401641    - `"output-128k-2025-02-19"`16421643    - `"files-api-2025-04-14"`16441645    - `"mcp-client-2025-04-04"`16461647    - `"mcp-client-2025-11-20"`16481649    - `"dev-full-thinking-2025-05-14"`16501651    - `"interleaved-thinking-2025-05-14"`16521653    - `"code-execution-2025-05-22"`16541655    - `"extended-cache-ttl-2025-04-11"`16561657    - `"context-1m-2025-08-07"`16581659    - `"context-management-2025-06-27"`16601661    - `"model-context-window-exceeded-2025-08-26"`16621663    - `"skills-2025-10-02"`16641665    - `"fast-mode-2026-02-01"`16661667    - `"output-300k-2026-03-24"`16681669    - `"user-profiles-2026-03-24"`16701671    - `"user-profiles-2026-08-18"`16721673    - `"user-profiles-2026-09-04"`16741675    - `"advisor-tool-2026-03-01"`16761677    - `"managed-agents-2026-04-01"`16781679    - `"cache-diagnosis-2026-04-07"`16801681    - `"dreaming-2026-04-21"`16821683    - `"thinking-token-count-2026-05-13"`16841685    - `"server-side-fallback-2026-06-01"`16861687    - `"server-side-fallback-2026-07-01"`16881689    - `"fallback-credit-2026-06-01"`16901691    - `"fallback-credit-2026-07-01"`16921693    - `"agent-memory-2026-07-22"`16941695    - `"mid-conversation-tool-changes-2026-07-01"`16961697    - `"compact-2026-01-12"`16981699    - `"computer-use-2025-11-24"`17001701    - `"mcp-tunnels-2026-06-22"`17021703    - `"structured-outputs-2025-11-13"`17041705    - `"task-budgets-2026-03-13"`17061707    - `"thinking-display-updates-2026-08-18"`17081709    - `"ce-user-management-2026-07-13"`17101711    - `"mid-conversation-output-config-2026-07-01"`17121713    - `"thinking-binding-controls-2026-08-01"`17141715    - `"mid-conversation-system-clear-at-2026-08-21"`17161717    - `"compact-2026-09-04"`17181719#### Returns17201721- `BetaOrganizationTunnelCertificate object`17221723  - `type: "tunnel_certificate"`17241725    Object type. Always `tunnel_certificate` for Tunnel Certificates.17261727    default: tunnel_certificate17281729  - `id: string`17301731    ID of the Tunnel Certificate.17321733  - `archived_at: string or null`17341735    RFC 3339 datetime string indicating when the certificate was archived, or1736    `null` if it is not archived.17371738    format: date-time17391740  - `created_at: string`17411742    RFC 3339 datetime string indicating when the certificate was registered.17431744    format: date-time17451746  - `expires_at: string or null`17471748    RFC 3339 datetime string indicating when the certificate expires, or1749    `null` if it does not expire.17501751    format: date-time17521753  - `fingerprint: string`17541755    The certificate's SHA-256 fingerprint, as a lowercase hex string.17561757  - `tunnel_id: string`17581759    ID of the Tunnel this certificate is registered against.17601761#### Example17621763```bash1764curl https://api.anthropic.com/v1/organizations/tunnels/$TUNNEL_ID/certificates/$CERTIFICATE_ID/archive \1765    -X POST \1766    -H 'anthropic-version: 2023-06-01' \1767    -H 'anthropic-beta: mcp-tunnels-2026-05-19' \1768    -H "X-Api-Key: $ANTHROPIC_API_KEY"1769```17701771##### Response (200)17721773```json1774{1775  "id": "tcrt_01JmWq4ZxnBvR7tKpY2sLdH9",1776  "archived_at": "2024-11-01T23:59:27.427722Z",1777  "created_at": "2024-10-30T23:58:27.427722Z",1778  "expires_at": "2024-10-30T23:58:27.427722Z",1779  "fingerprint": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",1780  "tunnel_id": "tnl_01Hx9Kp2RtQvMn3sWbYdLcF8",1781  "type": "tunnel_certificate"1782}1783```1784
Files main
Menu

Theme