Archive Session changedapi/beta/sessions/archive
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.
Recorded here
Lines+122added
Lines−159removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits23to this page, all time
# Archive Session ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Archive Session ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Archive Session
3url: https://platform.claude.com/docs/en/api/beta/sessions/archive
4---
1# Archive Session
52
6## Archive Session
3**POST** `/v1/sessions/{session_id}/archive`
74
8**post** `/v1/sessions/{session_id}/archive`
9
105Archive Session
116
12### Path Parameters
7## Path parameters
138
149- `session_id: string`
1510
16### Header Parameters
11## Headers
1712
1813- `"anthropic-beta": optional array of AnthropicBeta`
1914
from line 86
9186
9287 - `"mid-conversation-tool-changes-2026-07-01"`
9388
94### Returns
89## Returns
9590
96- `BetaManagedAgentsSession object { id, agent, archived_at, 14 more }`
91- `BetaManagedAgentsSession object`
9792
9893 A Managed Agents `session`.
9994
from line 108
113108
114109 - `type: "url"`
115110
116 - `"url"`
117
118111 - `url: string`
119112
120113 - `model: BetaManagedAgentsModelConfig`
from line 184
191184
192185 How hard Claude works on each turn. Sets `output_config.effort` on every Messages call the session makes.
193186
194 - `BetaManagedAgentsEffortLow object { type }`
187 - `BetaManagedAgentsEffortLow object`
195188
196189 Low effort. Favors latency over reasoning depth.
197190
198191 - `type: "low"`
199192
200 - `"low"`
193 - `BetaManagedAgentsEffortMedium object`
201194
202 - `BetaManagedAgentsEffortMedium object { type }`
203
204195 Medium effort. Balances latency and reasoning depth.
205196
206197 - `type: "medium"`
207198
208 - `"medium"`
199 - `BetaManagedAgentsEffortHigh object`
209200
210 - `BetaManagedAgentsEffortHigh object { type }`
211
212201 High effort. Favors reasoning depth.
213202
214203 - `type: "high"`
215204
216 - `"high"`
205 - `BetaManagedAgentsEffortXhigh object`
217206
218 - `BetaManagedAgentsEffortXhigh object { type }`
219
220207 Extra-high effort. Not all models accept this level.
221208
222209 - `type: "xhigh"`
223210
224 - `"xhigh"`
211 - `BetaManagedAgentsEffortMax object`
225212
226 - `BetaManagedAgentsEffortMax object { type }`
227
228213 Maximum effort. Favors reasoning depth over latency.
229214
230215 - `type: "max"`
231216
232 - `"max"`
233
234217 - `inference_geo: optional string`
235218
236219 Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.
from line 234
251234
252235 Full `agent` definitions the coordinator may spawn as session threads.
253236
254 - `BetaManagedAgentsSessionThreadAgent object { id, description, mcp_servers, 7 more }`
237 - `BetaManagedAgentsSessionThreadAgent object`
255238
256239 Resolved `agent` definition for a single `session_thread`. Snapshot of the agent at thread creation time. The multiagent roster is not repeated here; read it from `Session.agent`.
257240
from line 258
275258
276259 - `skills: array of BetaManagedAgentsAnthropicSkill or BetaManagedAgentsCustomSkill`
277260
278 - `BetaManagedAgentsAnthropicSkill object { skill_id, type, version }`
261 - `BetaManagedAgentsAnthropicSkill object`
279262
280263 A resolved Anthropic-managed skill.
281264
from line 266
283266
284267 - `type: "anthropic"`
285268
286 - `"anthropic"`
287
288269 - `version: string`
289270
290 - `BetaManagedAgentsCustomSkill object { skill_id, type, version }`
271 - `BetaManagedAgentsCustomSkill object`
291272
292273 A resolved user-created custom skill.
293274
from line 276
295276
296277 - `type: "custom"`
297278
298 - `"custom"`
299
300279 - `version: string`
301280
302281 - `system: string or null`
from line 282
303282
304283 - `tools: array of BetaManagedAgentsAgentToolset20260401 or BetaManagedAgentsMCPToolset or BetaManagedAgentsCustomTool`
305284
306 - `BetaManagedAgentsAgentToolset20260401 object { configs, default_config, type }`
285 - `BetaManagedAgentsAgentToolset20260401 object`
307286
308287 - `configs: array of BetaManagedAgentsAgentToolConfig`
309288
310 - `BetaManagedAgentsBashToolConfig object { enabled, name, permission_policy, type }`
289 - `BetaManagedAgentsBashToolConfig object`
311290
312291 Configuration for the bash tool.
313292
from line 294
315294
316295 - `name: "bash"`
317296
318 - `"bash"`
319
320297 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
321298
322299 Permission policy for tool execution.
323300
324 - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
301 - `BetaManagedAgentsAlwaysAllowPolicy object`
325302
326303 Tool calls are automatically approved without user confirmation.
327304
328305 - `type: "always_allow"`
329306
330 - `"always_allow"`
307 - `BetaManagedAgentsAlwaysAskPolicy object`
331308
332 - `BetaManagedAgentsAlwaysAskPolicy object { type }`
333
334309 Tool calls require user confirmation before execution.
335310
336311 - `type: "always_ask"`
337312
338 - `"always_ask"`
339
340313 - `type: "bash"`
341314
342 - `"bash"`
315 - `BetaManagedAgentsEditToolConfig object`
343316
344 - `BetaManagedAgentsEditToolConfig object { enabled, name, permission_policy, type }`
345
346317 Configuration for the edit tool.
347318
348319 - `enabled: boolean`
from line 320
349320
350321 - `name: "edit"`
351322
352 - `"edit"`
353
354323 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
355324
356325 Permission policy for tool execution.
357326
358 - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
327 - `BetaManagedAgentsAlwaysAllowPolicy object`
359328
360329 Tool calls are automatically approved without user confirmation.
361330
362 - `BetaManagedAgentsAlwaysAskPolicy object { type }`
331 - `BetaManagedAgentsAlwaysAskPolicy object`
363332
364333 Tool calls require user confirmation before execution.
365334
366335 - `type: "edit"`
367336
368 - `"edit"`
337 - `BetaManagedAgentsReadToolConfig object`
369338
370 - `BetaManagedAgentsReadToolConfig object { enabled, name, permission_policy, type }`
371
372339 Configuration for the read tool.
373340
374341 - `enabled: boolean`
from line 342
375342
376343 - `name: "read"`
377344
378 - `"read"`
379
380345 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
381346
382347 Permission policy for tool execution.
383348
384 - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
349 - `BetaManagedAgentsAlwaysAllowPolicy object`
385350
386351 Tool calls are automatically approved without user confirmation.
387352
388 - `BetaManagedAgentsAlwaysAskPolicy object { type }`
353 - `BetaManagedAgentsAlwaysAskPolicy object`
389354
390355 Tool calls require user confirmation before execution.
391356
392357 - `type: "read"`
393358
394 - `"read"`
359 - `BetaManagedAgentsWriteToolConfig object`
395360
396 - `BetaManagedAgentsWriteToolConfig object { enabled, name, permission_policy, type }`
397
398361 Configuration for the write tool.
399362
400363 - `enabled: boolean`
from line 364
401364
402365 - `name: "write"`
403366
404 - `"write"`
405
406367 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
407368
408369 Permission policy for tool execution.
409370
410 - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
371 - `BetaManagedAgentsAlwaysAllowPolicy object`
411372
412373 Tool calls are automatically approved without user confirmation.
413374
414 - `BetaManagedAgentsAlwaysAskPolicy object { type }`
375 - `BetaManagedAgentsAlwaysAskPolicy object`
415376
416377 Tool calls require user confirmation before execution.
417378
418379 - `type: "write"`
419380
420 - `"write"`
381 - `BetaManagedAgentsGlobToolConfig object`
421382
422 - `BetaManagedAgentsGlobToolConfig object { enabled, name, permission_policy, type }`
423
424383 Configuration for the glob tool.
425384
426385 - `enabled: boolean`
from line 386
427386
428387 - `name: "glob"`
429388
430 - `"glob"`
431
432389 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
433390
434391 Permission policy for tool execution.
435392
436 - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
393 - `BetaManagedAgentsAlwaysAllowPolicy object`
437394
438395 Tool calls are automatically approved without user confirmation.
439396
440 - `BetaManagedAgentsAlwaysAskPolicy object { type }`
397 - `BetaManagedAgentsAlwaysAskPolicy object`
441398
442399 Tool calls require user confirmation before execution.
443400
444401 - `type: "glob"`
445402
446 - `"glob"`
403 - `BetaManagedAgentsGrepToolConfig object`
447404
448 - `BetaManagedAgentsGrepToolConfig object { enabled, name, permission_policy, type }`
449
450405 Configuration for the grep tool.
451406
452407 - `enabled: boolean`
from line 408
453408
454409 - `name: "grep"`
455410
456 - `"grep"`
457
458411 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
459412
460413 Permission policy for tool execution.
461414
462 - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
415 - `BetaManagedAgentsAlwaysAllowPolicy object`
463416
464417 Tool calls are automatically approved without user confirmation.
465418
466 - `BetaManagedAgentsAlwaysAskPolicy object { type }`
419 - `BetaManagedAgentsAlwaysAskPolicy object`
467420
468421 Tool calls require user confirmation before execution.
469422
470423 - `type: "grep"`
471424
472 - `"grep"`
425 - `BetaManagedAgentsWebFetchToolConfig object`
473426
474 - `BetaManagedAgentsWebFetchToolConfig object { enabled, name, permission_policy, 4 more }`
475
476427 Configuration for the web_fetch tool.
477428
478429 - `enabled: boolean`
from line 430
479430
480431 - `name: "web_fetch"`
481432
482 - `"web_fetch"`
483
484433 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
485434
486435 Permission policy for tool execution.
487436
488 - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
437 - `BetaManagedAgentsAlwaysAllowPolicy object`
489438
490439 Tool calls are automatically approved without user confirmation.
491440
492 - `BetaManagedAgentsAlwaysAskPolicy object { type }`
441 - `BetaManagedAgentsAlwaysAskPolicy object`
493442
494443 Tool calls require user confirmation before execution.
495444
496445 - `type: "web_fetch"`
497446
498 - `"web_fetch"`
499
500447 - `allowed_domains: optional array of string`
501448
502449 - `blocked_domains: optional array of string`
from line 450
503450
504451 - `max_content_tokens: optional number or null`
505452
506 - `BetaManagedAgentsWebSearchToolConfig object { enabled, name, permission_policy, 4 more }`
453 format: int32
507454
455 - `BetaManagedAgentsWebSearchToolConfig object`
456
508457 Configuration for the web_search tool.
509458
510459 - `enabled: boolean`
from line 460
511460
512461 - `name: "web_search"`
513462
514 - `"web_search"`
515
516463 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
517464
518465 Permission policy for tool execution.
519466
520 - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
467 - `BetaManagedAgentsAlwaysAllowPolicy object`
521468
522469 Tool calls are automatically approved without user confirmation.
523470
524 - `BetaManagedAgentsAlwaysAskPolicy object { type }`
471 - `BetaManagedAgentsAlwaysAskPolicy object`
525472
526473 Tool calls require user confirmation before execution.
527474
528475 - `type: "web_search"`
529476
530 - `"web_search"`
531
532477 - `allowed_domains: optional array of string`
533478
534479 - `blocked_domains: optional array of string`
from line 486
541486
542487 Location precision. Only "approximate" is supported.
543488
544 - `"approximate"`
545
546489 - `city: optional string or null`
547490
548491 City name.
549492
493 minLength: 1, maxLength: 255
494
550495 - `country: optional string or null`
551496
552497 Two-letter ISO 3166-1 country code, uppercase.
from line 500
555500
556501 Region or state name.
557502
503 minLength: 1, maxLength: 255
504
558505 - `timezone: optional string or null`
559506
560507 IANA timezone identifier, e.g. "America/Los_Angeles".
561508
509 minLength: 1, maxLength: 255
510
562511 - `default_config: BetaManagedAgentsAgentToolsetDefaultConfig`
563512
564513 Resolved default configuration for agent tools.
from line 518
569518
570519 Permission policy for tool execution.
571520
572 - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
521 - `BetaManagedAgentsAlwaysAllowPolicy object`
573522
574523 Tool calls are automatically approved without user confirmation.
575524
576 - `BetaManagedAgentsAlwaysAskPolicy object { type }`
525 - `BetaManagedAgentsAlwaysAskPolicy object`
577526
578527 Tool calls require user confirmation before execution.
579528
580529 - `type: "agent_toolset_20260401"`
581530
582 - `"agent_toolset_20260401"`
531 - `BetaManagedAgentsMCPToolset object`
583532
584 - `BetaManagedAgentsMCPToolset object { configs, default_config, mcp_server_name, type }`
585
586533 - `configs: array of BetaManagedAgentsMCPToolConfig`
587534
588535 - `enabled: boolean`
from line 540
593540
594541 Permission policy for tool execution.
595542
596 - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
543 - `BetaManagedAgentsAlwaysAllowPolicy object`
597544
598545 Tool calls are automatically approved without user confirmation.
599546
600 - `BetaManagedAgentsAlwaysAskPolicy object { type }`
547 - `BetaManagedAgentsAlwaysAskPolicy object`
601548
602549 Tool calls require user confirmation before execution.
603550
from line 558
611558
612559 Permission policy for tool execution.
613560
614 - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
561 - `BetaManagedAgentsAlwaysAllowPolicy object`
615562
616563 Tool calls are automatically approved without user confirmation.
617564
618 - `BetaManagedAgentsAlwaysAskPolicy object { type }`
565 - `BetaManagedAgentsAlwaysAskPolicy object`
619566
620567 Tool calls require user confirmation before execution.
621568
from line 570
623570
624571 - `type: "mcp_toolset"`
625572
626 - `"mcp_toolset"`
573 - `BetaManagedAgentsCustomTool object`
627574
628 - `BetaManagedAgentsCustomTool object { description, input_schema, name, type }`
629
630575 A custom tool as returned in API responses.
631576
632577 - `description: string`
from line 582
637582
638583 - `type: "object"`
639584
640 - `"object"`
641
642585 - `properties: optional map[unknown] or null`
643586
644587 - `required: optional array of string or null`
from line 590
647590
648591 - `type: "custom"`
649592
650 - `"custom"`
651
652593 - `type: "agent"`
653594
654 - `"agent"`
655
656595 - `version: number`
657596
658 - `BetaManagedAgentsAdvisor object { model, type }`
597 format: int32
659598
599 - `BetaManagedAgentsAdvisor object`
600
660601 Platform advisor roster entry: a model the session's primary thread may consult mid-turn.
661602
662603 - `model: string`
from line 606
665606
666607 - `type: "advisor"`
667608
668 - `"advisor"`
669
670609 - `type: "coordinator"`
671610
672 - `"coordinator"`
673
674611 - `name: string`
675612
676613 - `skills: array of BetaManagedAgentsAnthropicSkill or BetaManagedAgentsCustomSkill`
677614
678 - `BetaManagedAgentsAnthropicSkill object { skill_id, type, version }`
615 - `BetaManagedAgentsAnthropicSkill object`
679616
680617 A resolved Anthropic-managed skill.
681618
682 - `BetaManagedAgentsCustomSkill object { skill_id, type, version }`
619 - `BetaManagedAgentsCustomSkill object`
683620
684621 A resolved user-created custom skill.
685622
from line 624
687624
688625 - `tools: array of BetaManagedAgentsAgentToolset20260401 or BetaManagedAgentsMCPToolset or BetaManagedAgentsCustomTool`
689626
690 - `BetaManagedAgentsAgentToolset20260401 object { configs, default_config, type }`
627 - `BetaManagedAgentsAgentToolset20260401 object`
691628
692 - `BetaManagedAgentsMCPToolset object { configs, default_config, mcp_server_name, type }`
629 - `BetaManagedAgentsMCPToolset object`
693630
694 - `BetaManagedAgentsCustomTool object { description, input_schema, name, type }`
631 - `BetaManagedAgentsCustomTool object`
695632
696633 A custom tool as returned in API responses.
697634
698635 - `type: "agent"`
699636
700 - `"agent"`
701
702637 - `version: number`
703638
639 format: int32
640
704641 - `archived_at: string or null`
705642
706643 A timestamp in RFC 3339 format
707644
645 format: date-time
646
708647 - `budget: BetaManagedAgentsBudgetLimit or null`
709648
710649 A hard spend ceiling. The session stops issuing new model requests once the tracked list cost reaches `max_list_cost`.
from line 660
721660
722661 Uppercase ISO-4217 currency code. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced.
723662
724 - `"USD"`
725
726663 - `type: "limit"`
727664
728 - `"limit"`
729
730665 - `created_at: string`
731666
732667 A timestamp in RFC 3339 format
733668
669 format: date-time
670
734671 - `environment_id: string`
735672
736673 - `metadata: map[string]`
from line 680
743680
744681 A timestamp in RFC 3339 format
745682
683 format: date-time
684
746685 - `description: string`
747686
748687 What the agent should produce.
from line 694
755694
756695 0-indexed revision cycle the outcome is currently on.
757696
697 format: int32
698
758699 - `outcome_id: string`
759700
760701 Server-generated outc_ ID for this outcome.
from line 706
765706
766707 - `type: "outcome_evaluation"`
767708
768 - `"outcome_evaluation"`
769
770709 - `resources: array of BetaManagedAgentsSessionResource`
771710
772 - `BetaManagedAgentsGitHubRepositoryResource object { id, created_at, mount_path, 4 more }`
711 - `BetaManagedAgentsGitHubRepositoryResource object`
773712
774713 - `id: string`
775714
from line 716
777716
778717 A timestamp in RFC 3339 format
779718
719 format: date-time
720
780721 - `mount_path: string`
781722
782723 - `type: "github_repository"`
783724
784 - `"github_repository"`
785
786725 - `updated_at: string`
787726
788727 A timestamp in RFC 3339 format
789728
729 format: date-time
730
790731 - `url: string`
791732
792733 - `checkout: optional BetaManagedAgentsBranchCheckout or BetaManagedAgentsCommitCheckout or null`
793734
794 - `BetaManagedAgentsBranchCheckout object { name, type }`
735 - `BetaManagedAgentsBranchCheckout object`
795736
796737 - `name: string`
797738
798739 Branch name to check out.
799740
741 minLength: 1, maxLength: 255
742
800743 - `type: "branch"`
801744
802 - `"branch"`
745 - `BetaManagedAgentsCommitCheckout object`
803746
804 - `BetaManagedAgentsCommitCheckout object { sha, type }`
805
806747 - `sha: string`
807748
808749 Full commit SHA to check out.
809750
751 minLength: 7, maxLength: 64
752
810753 - `type: "commit"`
811754
812 - `"commit"`
755 - `BetaManagedAgentsFileResource object`
813756
814 - `BetaManagedAgentsFileResource object { id, created_at, file_id, 3 more }`
815
816757 - `id: string`
817758
818759 - `created_at: string`
from line 760
819760
820761 A timestamp in RFC 3339 format
821762
763 format: date-time
764
822765 - `file_id: string`
823766
824767 - `mount_path: string`
from line 768
825768
826769 - `type: "file"`
827770
828 - `"file"`
829
830771 - `updated_at: string`
831772
832773 A timestamp in RFC 3339 format
833774
834 - `BetaManagedAgentsMemoryStoreResource object { memory_store_id, type, access, 4 more }`
775 format: date-time
835776
777 - `BetaManagedAgentsMemoryStoreResource object`
778
836779 A memory store attached to an agent session.
837780
838781 - `memory_store_id: string`
from line 784
841784
842785 - `type: "memory_store"`
843786
844 - `"memory_store"`
845
846787 - `access: optional "read_write" or "read_only" or null`
847788
848789 Access mode for an attached memory store.
from line 800
859800
860801 Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
861802
803 maxLength: 4096
804
862805 - `mount_path: optional string or null`
863806
864807 Filesystem path where the store is mounted in the session container, e.g. /mnt/memory/user-preferences. Derived from the store's name. Output-only.
from line 818
875818
876819 Cumulative time in seconds the session spent in running status. Excludes idle time.
877820
821 format: double
822
878823 - `duration_seconds: optional number`
879824
880825 Elapsed time since session creation in seconds. For terminated sessions, frozen at the final update.
881826
827 format: double
828
882829 - `status: "rescheduling" or "running" or "idle" or "terminated"`
883830
884831 SessionStatus enum
from line 842
895842
896843 - `type: "session"`
897844
898 - `"session"`
899
900845 - `updated_at: string`
901846
902847 A timestamp in RFC 3339 format
903848
849 format: date-time
850
904851 - `usage: BetaManagedAgentsSessionUsage`
905852
906853 Cumulative token usage for a session across all turns.
from line 856
909856
910857 Cumulative time in seconds during which the session had at least one thread in running status. Overlapping activity from concurrent threads is counted once, unlike `stats.active_seconds`, which sums each thread's own active time. This is the duration the session's runtime cost is priced on.
911858
859 format: double
860
912861 - `cache_creation: optional BetaManagedAgentsCacheCreationUsage`
913862
914863 Prompt-cache creation token usage broken down by cache lifetime.
from line 866
917866
918867 Tokens used to create 1-hour ephemeral cache entries.
919868
869 format: int32
870
920871 - `ephemeral_5m_input_tokens: optional number`
921872
922873 Tokens used to create 5-minute ephemeral cache entries.
923874
875 format: int32
876
924877 - `cache_read_input_tokens: optional number`
925878
926879 Total tokens read from prompt cache.
927880
881 format: int32
882
928883 - `input_tokens: optional number`
929884
930885 Total input tokens consumed across all turns.
931886
887 format: int32
888
932889 - `list_cost: optional BetaMonetaryAmount or null`
933890
934891 A monetary amount in a specific currency.
from line 894
937894
938895 Total output tokens generated across all turns.
939896
897 format: int32
898
940899 - `server_tool_use: optional BetaManagedAgentsServerToolUsage or null`
941900
942901 Cumulative count of server-executed tool invocations, broken down by tool.
from line 904
945904
946905 Number of server-executed web fetch requests.
947906
907 format: int32
908
948909 - `web_search_requests: optional number`
949910
950911 Number of server-executed web search requests.
951912
913 format: int32
914
952915 - `vault_ids: array of string`
953916
954917 Vault IDs attached to the session at creation. Empty when no vaults were supplied.
from line 920
957920
958921 Deployment ID when the session was created from a deployment reference. Null otherwise.
959922
960### Example
923## Example
961924
962```http
925```bash
963926curl https://api.anthropic.com/v1/sessions/$SESSION_ID/archive \
964927 -X POST \
965928 -H 'anthropic-version: 2023-06-01' \
from line 930
967930 -H "X-Api-Key: $ANTHROPIC_API_KEY"
968931```
969932
970#### Response
933### Response (200)
971934
972935```json
973936{
No line in this hunk matches that.