Menu

Vercel Sandbox adds session lifecycle webhooks
📰

Vercel Sandbox adds session lifecycle webhooks

Vercel News·Will Hopkins·4 days ago
#4AtapGUh
#vercel#session#sandbox#stopped#expiring
Long article (326 words) — no AI summary yet.
Reading 0:00
15s threshold

Vercel Sandbox now sends webhooks when a sandbox session is ready, is approaching its timeout, or is stopped. Use these notifications to update application state, decide whether to extend an agent session, or trigger cleanup.

Subscribe to sandbox.session.started , sandbox.session.expiring , and sandbox.session.stopped in your team's webhook settings . Each event includes sandbox and session details, so your backend can identify the affected session. Stopped events include the stop reason ( requested , snapshot , timeout , exited , or error ) and the session's duration, active CPU time, and network transfer.

Vercel sends sandbox.session.expiring 1 minute before a session times out, or the time configured by expiryNotificationLeadTime .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.