The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Certificates
3url: https://platform.claude.com/docs/en/api/beta/tunnels/certificates
4---
5
16# Certificates
27
38## Create Tunnel Certificate
from line 25
2025
2126 - `string`
2227
23 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
28 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2429
2530 - `"message-batches-2024-09-24"`
2631
from line 73
6873
6974 - `"user-profiles-2026-08-18"`
7075
76 - `"user-profiles-2026-09-04"`
77
7178 - `"advisor-tool-2026-03-01"`
7279
7380 - `"managed-agents-2026-04-01"`
from line 117
110117
111118 - `"mid-conversation-system-clear-at-2026-08-21"`
112119
120- `"anthropic-workspace-id": optional string`
121
113122### Body parameters
114123
115124- `ca_certificate_pem: string`
from line 133
124133
125134 A CA certificate attached to a tunnel.
126135
136 - `type: "tunnel_certificate"`
137
127138 - `id: string`
128139
129140 Unique identifier for the certificate, prefixed with `tcrt_`.
from line 165
154165
155166 ID of the tunnel the certificate is registered against.
156167
157 - `type: "tunnel_certificate"`
158
159168### Example
160169
161170```bash
from line 214
205214
206215 - `string`
207216
208 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
217 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
209218
210219 - `"message-batches-2024-09-24"`
211220
from line 262
253262
254263 - `"user-profiles-2026-08-18"`
255264
265 - `"user-profiles-2026-09-04"`
266
256267 - `"advisor-tool-2026-03-01"`
257268
258269 - `"managed-agents-2026-04-01"`
from line 306
295306
296307 - `"mid-conversation-system-clear-at-2026-08-21"`
297308
309- `"anthropic-workspace-id": optional string`
310
298311### Returns
299312
300313- `BetaTunnelCertificate object`
from line 314
301314
302315 A CA certificate attached to a tunnel.
303316
317 - `type: "tunnel_certificate"`
318
304319 - `id: string`
305320
306321 Unique identifier for the certificate, prefixed with `tcrt_`.
from line 346
331346
332347 ID of the tunnel the certificate is registered against.
333348
334 - `type: "tunnel_certificate"`
335
336349### Example
337350
338351```bash
from line 405
392405
393406 - `string`
394407
395 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
408 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
396409
397410 - `"message-batches-2024-09-24"`
398411
from line 453
440453
441454 - `"user-profiles-2026-08-18"`
442455
456 - `"user-profiles-2026-09-04"`
457
443458 - `"advisor-tool-2026-03-01"`
444459
445460 - `"managed-agents-2026-04-01"`
from line 497
482497
483498 - `"mid-conversation-system-clear-at-2026-08-21"`
484499
500- `"anthropic-workspace-id": optional string`
501
485502### Returns
486503
487504- `data: array of BetaTunnelCertificate`
from line 505
488505
489506 List of certificates, ordered by created_at descending.
490507
508 - `type: "tunnel_certificate"`
509
491510 - `id: string`
492511
493512 Unique identifier for the certificate, prefixed with `tcrt_`.
from line 537
518537
519538 ID of the tunnel the certificate is registered against.
520539
521 - `type: "tunnel_certificate"`
522
523540- `next_page: string or null`
524541
525542 Pagination cursor for the next page, or null if no more results.
from line 591
574591
575592 - `string`
576593
577 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
594 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
578595
579596 - `"message-batches-2024-09-24"`
580597
from line 639
622639
623640 - `"user-profiles-2026-08-18"`
624641
642 - `"user-profiles-2026-09-04"`
643
625644 - `"advisor-tool-2026-03-01"`
626645
627646 - `"managed-agents-2026-04-01"`
from line 683
664683
665684 - `"mid-conversation-system-clear-at-2026-08-21"`
666685
686- `"anthropic-workspace-id": optional string`
687
667688### Returns
668689
669690- `BetaTunnelCertificate object`
from line 691
670691
671692 A CA certificate attached to a tunnel.
672693
694 - `type: "tunnel_certificate"`
695
673696 - `id: string`
674697
675698 Unique identifier for the certificate, prefixed with `tcrt_`.
from line 723
700723
701724 ID of the tunnel the certificate is registered against.
702725
703 - `type: "tunnel_certificate"`
704
705726### Example
706727
707728```bash
from line 755
734755
735756 A CA certificate attached to a tunnel.
736757
758 - `type: "tunnel_certificate"`
759
737760 - `id: string`
738761
739762 Unique identifier for the certificate, prefixed with `tcrt_`.
from line 786
763786 - `tunnel_id: string`
764787
765788 ID of the tunnel the certificate is registered against.
766
767 - `type: "tunnel_certificate"`
768789