Environments changedapi/beta/environments
Nearest release: v2.1.315, published under an hour 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+30added
Lines−4removed
From line
133
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits20to this page, all time
The whole hunk
from line 133, old and new numbered
/
from line 133
133133
134134 - `"analytics-usage-cost-2026-08-24"`
135135
136 - `"experimental-claude-tag-2026-10-21"`
137
136138- `"anthropic-workspace-id": optional string`
137139
138140 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 618
616618
617619 - `"analytics-usage-cost-2026-08-24"`
618620
621 - `"experimental-claude-tag-2026-10-21"`
622
619623- `"anthropic-workspace-id": optional string`
620624
621625 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 959
955959
956960 - `"analytics-usage-cost-2026-08-24"`
957961
962 - `"experimental-claude-tag-2026-10-21"`
963
958964- `"anthropic-workspace-id": optional string`
959965
960966 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1291
12851291
12861292 - `"analytics-usage-cost-2026-08-24"`
12871293
1294 - `"experimental-claude-tag-2026-10-21"`
1295
12881296- `"anthropic-workspace-id": optional string`
12891297
12901298 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1745
17371745
17381746 - `"analytics-usage-cost-2026-08-24"`
17391747
1748 - `"experimental-claude-tag-2026-10-21"`
1749
17401750- `"anthropic-workspace-id": optional string`
17411751
17421752 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1920
19101920
19111921 - `"analytics-usage-cost-2026-08-24"`
19121922
1923 - `"experimental-claude-tag-2026-10-21"`
1924
19131925- `"anthropic-workspace-id": optional string`
19141926
19151927 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 2722
27102722
27112723 - `"analytics-usage-cost-2026-08-24"`
27122724
2725 - `"experimental-claude-tag-2026-10-21"`
2726
27132727- `"anthropic-workspace-id": optional string`
27142728
27152729 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 2994
29802994
29812995 - `"analytics-usage-cost-2026-08-24"`
29822996
2997 - `"experimental-claude-tag-2026-10-21"`
2998
29832999- `"Anthropic-Worker-ID": optional string`
29843000
29853001 Unique identifier for the specific worker polling, used to track aggregated environment-level work metrics in Console
from line 3252
32363252
32373253 - `"analytics-usage-cost-2026-08-24"`
32383254
3255 - `"experimental-claude-tag-2026-10-21"`
3256
32393257#### Returns
32403258
32413259- `BetaSelfHostedWork object`
from line 3517
34993517
35003518 - `"analytics-usage-cost-2026-08-24"`
35013519
3520 - `"experimental-claude-tag-2026-10-21"`
3521
35023522#### Returns
35033523
35043524- `BetaSelfHostedWorkHeartbeatResponse object`
from line 3533
35133533
35143534 - `last_heartbeat: string`
35153535
3516 RFC 3339 timestamp of the actual heartbeat from DB
3536 RFC 3339 timestamp of the most recent heartbeat recorded for this work item, or an empty string if none has been recorded
35173537
35183538 - `lease_extended: boolean`
35193539
from line 3715
36953715
36963716 - `"analytics-usage-cost-2026-08-24"`
36973717
3718 - `"experimental-claude-tag-2026-10-21"`
3719
36983720- `"anthropic-workspace-id": optional string`
36993721
37003722 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 3995
39733995
39743996 - `"analytics-usage-cost-2026-08-24"`
39753997
3998 - `"experimental-claude-tag-2026-10-21"`
3999
39764000#### Returns
39774001
39784002- `BetaSelfHostedWorkListResponse object`
from line 4258
42344258
42354259 - `"analytics-usage-cost-2026-08-24"`
42364260
4261 - `"experimental-claude-tag-2026-10-21"`
4262
42374263- `"anthropic-workspace-id": optional string`
42384264
42394265 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 4526
45004526
45014527 - `"analytics-usage-cost-2026-08-24"`
45024528
4529 - `"experimental-claude-tag-2026-10-21"`
4530
45034531- `"anthropic-workspace-id": optional string`
45044532
45054533 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 4540
45124540
45134541 Statistics about the work queue for an environment.
45144542
4515 Uses Redis Stream consumer group metrics for O(1) queries.
4516
45174543 - `type: "work_queue_stats"`
45184544
45194545 The type of object
from line 4548
45224548
45234549 - `depth: number`
45244550
4525 Number of work items waiting to be picked up (lag from consumer group)
4551 Number of work items waiting to be picked up
45264552
45274553 - `oldest_queued_at: string or null`
45284554
No line in this hunk matches that.