Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

scheduled-deployments changedmanaged-agents/scheduled-deployments

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

The whole hunk

from line 103, old and new numbered
/
lines
from line 103
103103 initial_events: [
104104 {
105105 type: "user.message",
106 content: [{ type: "text", text: "Run the weekly compliance scan." }],
107 },
106 content: [{ type: "text", text: "Run the weekly compliance scan." }]
107 }
108108 ],
109109 schedule: {
110110 type: "cron",
111111 expression: "0 20 * * 5",
112 timezone: "America/New_York",
113 },
112 timezone: "America/New_York"
113 }
114114 });
115115 ```
116116 
from line 335
335335 const updatedDeployment = await client.beta.deployments.update(deployment.id, {
336336 budget: {
337337 type: "limit",
338 max_list_cost: { amount: "2000", currency: "USD" },
339 },
338 max_list_cost: { amount: "2000", currency: "USD" }
339 }
340340 });
341341 console.log(updatedDeployment.budget?.max_list_cost.amount); // 2000
342342 ```
from line 437
437437 
438438 ```typescript TypeScript
439439 for await (const run of client.beta.deploymentRuns.list({
440 deployment_id: deployment.id,
440 deployment_id: deployment.id
441441 })) {
442442 console.log(run.created_at, run.session_id ?? run.error?.type);
443443 }
from line 528
528528 ```typescript TypeScript
529529 for await (const run of client.beta.deploymentRuns.list({
530530 deployment_id: deployment.id,
531 has_error: true,
531 has_error: true
532532 })) {
533533 console.log(run.created_at, run.error?.type, run.error?.message);
534534 }
Feedback