Features / Timeline and webhooks
See what happened in a sandbox, and hear when it changes.
Every sandbox has a timeline of what happened in it, newest first: lifecycle calls, commands, desktop actions and who took control. Only your org sees it. Webhooks post signed events to your own HTTPS endpoint, so you do not have to poll for a sandbox to become ready.
€10 of usage for 30 days · No credit card
curl -fsSL https://pols.so/install.sh | sh- Events kept in a sandbox's timeline
- 30 days
- Screenshot thumbnails kept
- 7 days
- Attempts to deliver a webhook, over about a day
- 9
A strip-chart recorder
One pen for each kind of event, writing on paper that keeps running. A pen steps aside when its event happens. With content capture on, the camera swings down and records output, typed text and screenshots as well. The paper folds into a stack that is kept for 30 days, and the bell rings out a signed webhook when the sandbox's state changes.
- Content captureOff by default and set per sandbox. When on, it adds the first and last 4 KiB of each command's output, the text typed on the desktop, and screenshots with thumbnails, masked before they are stored.
- Webhook bellPosts sandbox.ready, stopped, error and expired to your HTTPS endpoints, signed with HMAC-SHA256. A failed delivery is tried again with growing waits: nine attempts over about a day.
- Event pensAlways recorded: lifecycle calls and the statuses the sandbox reached, commands with their command line, exit code and duration, desktop actions, and who took control. Each event says who caused it.
- The stackEvents are kept for 30 days and screenshot thumbnails for 7. Deleting a sandbox deletes its timeline.
- The recorderEvery sandbox has one, newest first. Only your org reads it: on the account page, through the API or with the MCP tool sandbox_events. Environment values, vault values and standard input are never recorded.
Read it, or record more
Open a sandbox on your account page to see its timeline, or read it through the API. Over MCP,sandbox_events lists the events and sandbox_event_thumbnail returns a screenshot's thumbnail.
Content capture is off by default and set per sandbox. It records the first and last 4 KiB of each command's output, the text typed on the desktop, and screenshots. Before an event is stored, vault and environment values and common token formats are masked, best effort. Environment values, vault values and standard input are never recorded.
# record masked output, typed text and screenshots from now on
$ pols timeline web --capture-content=true
# the newest 50 events
$ curl -H "Authorization: Bearer $POLS_API_KEY" "https://api.pols.so/v1/sandboxes/web/events?limit=50"Webhooks
| Event | When |
|---|---|
sandbox.ready | The sandbox is running after a create, resume or fork, so exec and file calls work |
sandbox.stopped | It stopped: after a stop, when credit ran out, or because its VM stopped by itself |
sandbox.error | Its status became error |
sandbox.expired | Its expiry time passed and it is being deleted |
Owners and admins add up to 10 endpoints on the account page; API keys can only list them and their deliveries. Each delivery is a JSON POST with a Pols-Signature header, an HMAC-SHA256 of the timestamp and the raw body. It succeeds on a 2xx answer within 10 seconds; otherwise it is retried after 30 seconds, 2, 10 and 30 minutes, and 1, 3, 6 and 12 hours. Going to standby and waking from it raise no event.
€10 of usage for 30 days · No credit card
Questions
Are SSH sessions and file transfers recorded?
No. The timeline records lifecycle calls, commands run through exec from the CLI, the API or MCP, desktop actions and who took control. What you type in an SSH session and files copied with pols cp do not appear on it.
Who can see a sandbox's timeline, and for how long?
Only your org; pols.so operators do not see it on their admin pages. Events are kept for 30 days within a size cap per org, and deleting the sandbox deletes its timeline.
Can content capture record secrets?
It can. Vault and environment values and common token formats are masked before an event is stored, but only best effort, and other secrets in output or typed text can be recorded. Leave capture off for sandboxes that handle secrets pols does not know about.
Do I get a webhook when a sandbox is deleted or goes to standby?
No. Deleting, going to standby and waking raise no event. A sandbox deleted because its TTL passed raises sandbox.expired.
Can the same webhook arrive twice?
Yes. Retries send the same event with a fresh timestamp, and events can arrive out of order. Handle each event id once, check the signature over the raw body, and refuse timestamps more than 5 minutes off.
Which URLs can receive webhooks?
An https:// URL on a public host, up to 2,048 characters. pols connects only to public addresses and follows no redirects: a redirect counts as a failed attempt.
Start with one machine.
Install the CLI, sign up, and give your agent somewhere to work.
curl -fsSL https://pols.so/install.sh | sh€10 of usage for 30 days · No credit card