Sessions changedapi/beta/sessions
Nearest release: v2.1.332, 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+173added
Lines−77removed
From line
289
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits39to this page, all time
The whole hunk
from line 289, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 289
289289
290290 - `"claude-opus-4-5"`
291291
292 **Deprecated**: Will reach end-of-life on January 22, 2027. Please migrate to claude-opus-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
293
292294 Powerful intelligence for long-running agents and coding
293295
294296 - `"claude-opus-4-5-20251101"`
295297
298 **Deprecated**: Will reach end-of-life on January 22, 2027. Please migrate to claude-opus-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
299
296300 Powerful intelligence for long-running agents and coding
297301
298302 - `"claude-sonnet-4-5"`
from line 1419
14151419
14161420 - `"claude-opus-4-5"`
14171421
1422 **Deprecated**: Will reach end-of-life on January 22, 2027. Please migrate to claude-opus-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
1423
14181424 Powerful intelligence for long-running agents and coding
14191425
14201426 - `"claude-opus-4-5-20251101"`
14211427
1428 **Deprecated**: Will reach end-of-life on January 22, 2027. Please migrate to claude-opus-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
1429
14221430 Powerful intelligence for long-running agents and coding
14231431
14241432 - `"claude-sonnet-4-5"`
from line 2409
24012409
24022410 Tokens used to create 1-hour ephemeral cache entries.
24032411
2404 format: int32
2412 format: int64
24052413
24062414 - `ephemeral_5m_input_tokens: optional number`
24072415
24082416 Tokens used to create 5-minute ephemeral cache entries.
24092417
2410 format: int32
2418 format: int64
24112419
24122420 - `cache_read_input_tokens: optional number`
24132421
24142422 Total tokens read from prompt cache.
24152423
2416 format: int32
2424 format: int64
24172425
24182426 - `input_tokens: optional number`
24192427
24202428 Total input tokens consumed across all turns.
24212429
2422 format: int32
2430 format: int64
24232431
24242432 - `list_cost: optional BetaMonetaryAmount or null`
24252433
from line 2437
24292437
24302438 Total output tokens generated across all turns.
24312439
2432 format: int32
2440 format: int64
24332441
24342442 - `server_tool_use: optional BetaManagedAgentsServerToolUsage or null`
24352443
from line 2978
29702978
29712979 - `"claude-opus-4-5"`
29722980
2981 **Deprecated**: Will reach end-of-life on January 22, 2027. Please migrate to claude-opus-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
2982
29732983 Powerful intelligence for long-running agents and coding
29742984
29752985 - `"claude-opus-4-5-20251101"`
29762986
2987 **Deprecated**: Will reach end-of-life on January 22, 2027. Please migrate to claude-opus-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
2988
29772989 Powerful intelligence for long-running agents and coding
29782990
29792991 - `"claude-sonnet-4-5"`
from line 3968
39563968
39573969 Tokens used to create 1-hour ephemeral cache entries.
39583970
3959 format: int32
3971 format: int64
39603972
39613973 - `ephemeral_5m_input_tokens: optional number`
39623974
39633975 Tokens used to create 5-minute ephemeral cache entries.
39643976
3965 format: int32
3977 format: int64
39663978
39673979 - `cache_read_input_tokens: optional number`
39683980
39693981 Total tokens read from prompt cache.
39703982
3971 format: int32
3983 format: int64
39723984
39733985 - `input_tokens: optional number`
39743986
39753987 Total input tokens consumed across all turns.
39763988
3977 format: int32
3989 format: int64
39783990
39793991 - `list_cost: optional BetaMonetaryAmount or null`
39803992
from line 3996
39843996
39853997 Total output tokens generated across all turns.
39863998
3987 format: int32
3999 format: int64
39884000
39894001 - `server_tool_use: optional BetaManagedAgentsServerToolUsage or null`
39904002
from line 4452
44404452
44414453 - `"claude-opus-4-5"`
44424454
4455 **Deprecated**: Will reach end-of-life on January 22, 2027. Please migrate to claude-opus-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
4456
44434457 Powerful intelligence for long-running agents and coding
44444458
44454459 - `"claude-opus-4-5-20251101"`
44464460
4461 **Deprecated**: Will reach end-of-life on January 22, 2027. Please migrate to claude-opus-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
4462
44474463 Powerful intelligence for long-running agents and coding
44484464
44494465 - `"claude-sonnet-4-5"`
from line 5442
54265442
54275443 Tokens used to create 1-hour ephemeral cache entries.
54285444
5429 format: int32
5445 format: int64
54305446
54315447 - `ephemeral_5m_input_tokens: optional number`
54325448
54335449 Tokens used to create 5-minute ephemeral cache entries.
54345450
5435 format: int32
5451 format: int64
54365452
54375453 - `cache_read_input_tokens: optional number`
54385454
54395455 Total tokens read from prompt cache.
54405456
5441 format: int32
5457 format: int64
54425458
54435459 - `input_tokens: optional number`
54445460
54455461 Total input tokens consumed across all turns.
54465462
5447 format: int32
5463 format: int64
54485464
54495465 - `list_cost: optional BetaMonetaryAmount or null`
54505466
from line 5470
54545470
54555471 Total output tokens generated across all turns.
54565472
5457 format: int32
5473 format: int64
54585474
54595475 - `server_tool_use: optional BetaManagedAgentsServerToolUsage or null`
54605476
from line 6498
64826498
64836499 - `"claude-opus-4-5"`
64846500
6501 **Deprecated**: Will reach end-of-life on January 22, 2027. Please migrate to claude-opus-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
6502
64856503 Powerful intelligence for long-running agents and coding
64866504
64876505 - `"claude-opus-4-5-20251101"`
64886506
6507 **Deprecated**: Will reach end-of-life on January 22, 2027. Please migrate to claude-opus-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
6508
64896509 Powerful intelligence for long-running agents and coding
64906510
64916511 - `"claude-sonnet-4-5"`
from line 7488
74687488
74697489 Tokens used to create 1-hour ephemeral cache entries.
74707490
7471 format: int32
7491 format: int64
74727492
74737493 - `ephemeral_5m_input_tokens: optional number`
74747494
74757495 Tokens used to create 5-minute ephemeral cache entries.
74767496
7477 format: int32
7497 format: int64
74787498
74797499 - `cache_read_input_tokens: optional number`
74807500
74817501 Total tokens read from prompt cache.
74827502
7483 format: int32
7503 format: int64
74847504
74857505 - `input_tokens: optional number`
74867506
74877507 Total input tokens consumed across all turns.
74887508
7489 format: int32
7509 format: int64
74907510
74917511 - `list_cost: optional BetaMonetaryAmount or null`
74927512
from line 7516
74967516
74977517 Total output tokens generated across all turns.
74987518
7499 format: int32
7519 format: int64
75007520
75017521 - `server_tool_use: optional BetaManagedAgentsServerToolUsage or null`
75027522
from line 7642
76227642 "mount_path": "/workspace/example-repo",
76237643 "type": "github_repository",
76247644 "updated_at": "2026-03-15T10:00:00Z",
7625 "url": "https://github.com/example-org/example-repo",
7626 "checkout": {
7627 "name": "main",
7628 "type": "branch"
7629 }
7630 }
7631 ],
7632 "stats": {
7633 "active_seconds": 0,
7634 "duration_seconds": 0
7635 },
7636 "status": "idle",
7637 "title": "Order #1234 inquiry",
7638 "type": "session",
7639 "updated_at": "2026-03-15T10:00:00Z",
7640 "usage": {
7641 "active_seconds": 0,
7642 "cache_creation": {
7643 "ephemeral_1h_input_tokens": 0,
7644 "ephemeral_5m_input_tokens": 0
7645 },
7646 "cache_read_input_tokens": 0,
7647 "input_tokens": 0,
7648 "list_cost": {
7649 "amount": "2500",
7650 "currency": "USD"
7651 },
7652 "output_tokens": 0,
7653 "server_tool_use": {
7654 "web_fetch_requests": 0,
7655 "web_search_requests": 3
7656 }
7657 },
7658 "vault_ids": [
7659 "vlt_011CZkZDLs7fYzm1hXNPeRjv"
7660 ],
7661 "deployment_id": "deployment_id"
7662}
7663```
7664
7665## Delete Session
7666
7667**DELETE** `/v1/sessions/{session_id}`
7668
7669Delete Session
7670
7671### Path parameters
7672
7673- `session_id: string`
7674
7675### Headers
7676
7677- `"anthropic-version": optional string`
7678
7679 The version of the Claude API you want to use.
7680
7681 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
7682
7683- `"anthropic-beta": optional array of AnthropicBeta`
7684
7685 This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this header.
7686
7687 - `string`
7688
7689 - `"computer-use-2024-10-22"`
7690
7691 - `"computer-use-2025-01-24"`
7692
7693 - `"output-128k-2025-02-19"`
7694
7695 - `"mcp-client-2025-04-04"`
7696
7697 - `"mcp-client-2025-11-20"`
7698
7699 - `"dev-full-thinking-2025-05-14"`
7700
7701 - `"interleaved-thinking-2025-05-14"`
7702
7703 - `"code-execution-2025-05-22"`
7704
7705 - `"context-1m-2025-08-07"`
7706
7707 - `"context-management-2025-06-27"`
7708
7709 - `"model-context-window-exceeded-2025-08-26"`
7710
7711 - `"fast-mode-2026-02-01"`
7712
7713 - `"output-300k-2026-03-24"`
7714
7715 - `"user-profiles-2026-03-24"`
7716
7717 - `"user-profiles-2026-08-18"`
7718
7719 - `"user-profiles-2026-09-04"`
7720
7721 - `"advisor-tool-2026-03-01"`
7722
7723 - `"managed-agents-2026-04-01"`
7724
7725 - `"dreaming-2026-04-21"`
7726
7727 - `"thinking-token-count-20
7645 "url": "https://github.com/example-org/exampl
No line in this hunk matches that.