Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.319 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Get Queue Statistics changedapi/beta/environments/work/stats

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+3added
Lines−3removed
From line 135 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits19to this page, all time

The whole hunk

from line 135, old and new numbered
/
lines
from line 135
135135 
136136 - `"analytics-usage-cost-2026-08-24"`
137137 
138 - `"experimental-claude-tag-2026-10-21"`
139 
138140- `"anthropic-workspace-id": optional string`
139141 
140142 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 149
147149 
148150 Statistics about the work queue for an environment.
149151 
150 Uses Redis Stream consumer group metrics for O(1) queries.
151 
152152 - `type: "work_queue_stats"`
153153 
154154 The type of object
from line 157
157157 
158158 - `depth: number`
159159 
160 Number of work items waiting to be picked up (lag from consumer group)
160 Number of work items waiting to be picked up
161161 
162162 - `oldest_queued_at: string or null`
163163 
Feedback