Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · api

Get Queue Statistics changed

api/beta/environments/work/stats

Nearest release: v2.1.268, published under 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+16added
Lines−7removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits8to this page, all time

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Get Queue Statistics
3url: https://platform.claude.com/docs/en/api/beta/environments/work/stats
4---
5 
16# Get Queue Statistics
27 
38**GET** `/v1/environments/{environment_id}/work/stats`
from line 21
1621 
1722 - `string`
1823 
19 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
24 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2025 
2126 - `"message-batches-2024-09-24"`
2227 
from line 69
6469 
6570 - `"user-profiles-2026-08-18"`
6671 
72 - `"user-profiles-2026-09-04"`
73 
6774 - `"advisor-tool-2026-03-01"`
6875 
6976 - `"managed-agents-2026-04-01"`
from line 113
106113 
107114 - `"mid-conversation-system-clear-at-2026-08-21"`
108115 
116- `"anthropic-workspace-id": optional string`
117 
109118## Returns
110119 
111120- `BetaSelfHostedWorkQueueStats object`
from line 123
114123 
115124 Uses Redis Stream consumer group metrics for O(1) queries.
116125 
126 - `type: "work_queue_stats"`
127 
128 The type of object
129 
130 default: work_queue_stats
131 
117132 - `depth: number`
118133 
119134 Number of work items waiting to be picked up (lag from consumer group)
from line 142
127142 Number of work items being processed (polled but not acknowledged)
128143 
129144 default: 0
130 
131 - `type: "work_queue_stats"`
132 
133 The type of object
134 
135 default: work_queue_stats
136145 
137146 - `workers_polling: number or null`
138147