Sessions changedapi/beta/sessions
Nearest release: v2.1.334, published 3 hours before 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+21added
Lines−309removed
From line
231
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits41to this page, all time
The whole hunk
from line 231, 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 231
231231
232232 Replacement model. Accepts the model string, e.g. `claude-opus-5-5`, or a `model_config` object. Omit to use the agent's model.
233233
234 - `BetaManagedAgentsModel = "claude-fable-5-2" or "claude-haiku-5-5" or "claude-sonnet-5-5" or 15 more or string`
234 - `BetaManagedAgentsModel = "claude-fable-5-2" or "claude-haiku-5-5" or "claude-sonnet-5-5" or 13 more or string`
235235
236236 The model that will power your agent.
237237
from line 301
301301
302302 Powerful intelligence for long-running agents and coding
303303
304 - `"claude-sonnet-4-5"`
305
306 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
307
308 High-performance model for agents and coding
309
310 - `"claude-sonnet-4-5-20250929"`
311
312 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
313
314 High-performance model for agents and coding
315
316304 - `string`
317305
318306 - `BetaManagedAgentsModelConfigParams object`
from line 979
991979
992980 Amount in minor units of the currency, as an integer decimal string with no leading zeros: "2500" is $25.00 and "50" is fifty cents. A string rather than a number so no float rounding is ever applied.
993981
994 pattern: ^(0|[1-9]\d*)$
982 maxLength: 19, pattern: ^(0|[1-9]\d*)$
995983
996984 - `currency: BetaCurrency`
997985
from line 1419
14311419
14321420 Powerful intelligence for long-running agents and coding
14331421
1434 - `"claude-sonnet-4-5"`
1435
1436 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
1437
1438 High-performance model for agents and coding
1439
1440 - `"claude-sonnet-4-5-20250929"`
1441
1442 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
1443
1444 High-performance model for agents and coding
1445
14461422 - `string`
14471423
14481424 - `effort: optional BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or BetaManagedAgentsEffortHigh or 2 more`
from line 2171
21952171
21962172 Amount in minor units of the currency, as an integer decimal string with no leading zeros: "2500" is $25.00 and "50" is fifty cents. A string rather than a number so no float rounding is ever applied.
21972173
2198 pattern: ^(0|[1-9]\d*)$
2174 maxLength: 19, pattern: ^(0|[1-9]\d*)$
21992175
22002176 - `currency: BetaCurrency`
22012177
from line 2968
29922968
29932969 Powerful intelligence for long-running agents and coding
29942970
2995 - `"claude-sonnet-4-5"`
2996
2997 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
2998
2999 High-performance model for agents and coding
3000
3001 - `"claude-sonnet-4-5-20250929"`
3002
3003 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
3004
3005 High-performance model for agents and coding
3006
30072971 - `string`
30082972
30092973 - `effort: optional BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or BetaManagedAgentsEffortHigh or 2 more`
from line 3720
37563720
37573721 Amount in minor units of the currency, as an integer decimal string with no leading zeros: "2500" is $25.00 and "50" is fifty cents. A string rather than a number so no float rounding is ever applied.
37583722
3759 pattern: ^(0|[1-9]\d*)$
3723 maxLength: 19, pattern: ^(0|[1-9]\d*)$
37603724
37613725 - `currency: BetaCurrency`
37623726
from line 4432
44684432
44694433 Powerful intelligence for long-running agents and coding
44704434
4471 - `"claude-sonnet-4-5"`
4472
4473 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
4474
4475 High-performance model for agents and coding
4476
4477 - `"claude-sonnet-4-5-20250929"`
4478
4479 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
4480
4481 High-performance model for agents and coding
4482
44834435 - `string`
44844436
44854437 - `effort: optional BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or BetaManagedAgentsEffortHigh or 2 more`
from line 5184
52325184
52335185 Amount in minor units of the currency, as an integer decimal string with no leading zeros: "2500" is $25.00 and "50" is fifty cents. A string rather than a number so no float rounding is ever applied.
52345186
5235 pattern: ^(0|[1-9]\d*)$
5187 maxLength: 19, pattern: ^(0|[1-9]\d*)$
52365188
52375189 - `currency: BetaCurrency`
52385190
from line 6326
63746326
63756327 Amount in minor units of the currency, as an integer decimal string with no leading zeros: "2500" is $25.00 and "50" is fifty cents. A string rather than a number so no float rounding is ever applied.
63766328
6377 pattern: ^(0|[1-9]\d*)$
6329 maxLength: 19, pattern: ^(0|[1-9]\d*)$
63786330
63796331 - `currency: BetaCurrency`
63806332
from line 6468
65166468
65176469 Powerful intelligence for long-running agents and coding
65186470
6519 - `"claude-sonnet-4-5"`
6520
6521 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
6522
6523 High-performance model for agents and coding
6524
6525 - `"claude-sonnet-4-5-20250929"`
6526
6527 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
6528
6529 High-performance model for agents and coding
6530
65316471 - `string`
65326472
65336473 - `effort: optional BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or BetaManagedAgentsEffortHigh or 2 more`
from line 7220
72807220
72817221 Amount in minor units of the currency, as an integer decimal string with no leading zeros: "2500" is $25.00 and "50" is fifty cents. A string rather than a number so no float rounding is ever applied.
72827222
7283 pattern: ^(0|[1-9]\d*)$
7223 maxLength: 19, pattern: ^(0|[1-9]\d*)$
72847224
72857225 - `currency: BetaCurrency`
72867226
from line 7586
76467586 },
76477587 {
76487588 "id": "sesrsc_011CZkZCKr6eXym1gWMPdQiu",
7649 "created_at": "2026
7589 "created_at": "2026-03-15T10:00:00Z",
7590 "mount_path": "/workspace/example-repo",
7591 "type": "github_repository",
7592 "updated_at": "2026-03-15T10:00:00Z",
7593 "url": "https://github.com/example-org/example-repo",
7594 "checkout": {
7595 "name": "main",
7596 "type": "branch"
7597 }
7598 }
7599 ],
7600 "stats": {
7601 "active_seconds": 0,
7602 "duration_seconds": 0
7603 },
7604 "status": "idle",
7605 "title": "Order #1234 inquiry",
7606 "type": "session",
7607 "updated_at": "2026-03-15T10:00:00Z",
7608 "usage": {
7609 "active_seconds": 0,
7610 "cache_creation": {
7611 "ephemeral_1h_input_tokens": 0,
7612 "ephemeral_5m_input_tokens": 0
7613 },
7614 "cache_read_input_tokens": 0,
7615 "input_tokens": 0,
7616 "list_cost": {
7617 "amount": "2500",
7618 "currency": "USD"
7619 },
7620 "output_tokens": 0,
7621 "server_tool_use": {
7622 "web_fetch_requests": 0,
7623 "web_search_requests": 3
7624 }
7625 },
7626 "vault_ids": [
7627 "vlt_011CZkZDLs7fYzm1hXNPeRjv"
7628 ],
7629 "deployment_id": "deployment_id"
7630}
7631```
7632
7633## Delete Session
7634
7635**DELETE** `/v1/sessions/{session_id}`
7636
7637Delete Session
7638
7639### Path parameters
7640
7641- `session_id: string`
7642
7643### Headers
7644
7645- `"anthropic-version": optional string`
7646
7647 The version of the Claude API you want to use.
7648
7649 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
7650
7651- `"anthropic-beta": optional array of AnthropicBeta`
7652
7653 This endpoint is in beta: requests must send `managed-agents-2026-04-01` in this header.
7654
7655 - `string`
7656
7657 - `"computer-use-2024-10-22"`
7658
7659 - `"computer-use-2025-01-24"`
7660
7661 - `"output-128k-2025-02-19"`
7662
7663 - `"mcp-client-2025-04-04"`
7664
7665 - `"mcp-client-2025-11-20"`
7666
7667 - `"dev-full-thinking-2025-05-14"`
7668
7669 - `"interleaved-thinking-2025-05-14"`
7670
7671 - `"code-execution-2025-05-22"`
7672
7673 - `"context-1m-2025-08-07"`
7674
7675 - `"context-management-2025-06-27"`
7676
7677 - `"model-context-window-exceeded-2025-08-26"`
7678
7679 - `"fast-mode-2026-02-01"`
7680
7681 - `"output-300k-2026-03-24"`
7682
7683 - `"user-profiles-2026-03-24"`
7684
7685 - `"user-profiles-2026-08-18"`
7686
7687 - `"user-profiles-2026-09-04"`
7688
7689 - `"advisor-tool-2026-03-01"`
7690
7691 - `"managed-agents-2026-04-01"`
7692
7693 - `"dreaming-2026-04-21"`
7694
7695 - `"thinking-token-count-2026-05-13"`
7696
7697 - `"server-side-fallback-2026-06-01"`
7698
7699 - `"server-side-fallback-2026-07-01"`
7700
7701 - `"fallback-credit-2026-06-01"`
7702
7703 - `"fallback-credit-2026-07-01"`
7704
7705 - `"agent-memory-2026-07-22"`
7706
7707 - `"mid-conversation-tool-changes-2026-07-01"`
7708
7709 - `"compact-2026-01-12"`
7710
7711 - `"computer-use-2025-11-24"`
7712
7713 - `"mcp-tunnels-2026-06-22"`
7714
7715 - `"structured-outputs-2025-11-13"`
7716
7717 - `"task-budgets-2026-03-13"`
7718
7719 - `"thinking-display-updates-2026-08-18"`
7720
7721 - `"mid-conversation-output-config-2026-07-01"`
7722
7723 - `"thinking-binding-controls-2026-08-01"`
7724
7725 - `"mid-conversation-system-clear-at-2026-08-21"`
7726
7727 - `"compact-2026-09-04"`
7728
7729 - `"inline-tools-2026-09-15"`
7730
7731 - `"mcp
No line in this hunk matches that.