diff --git a/browser-agents/api/task-status.mdx b/browser-agents/api/task-status.mdx index f257daa..a978c93 100644 --- a/browser-agents/api/task-status.mdx +++ b/browser-agents/api/task-status.mdx @@ -66,7 +66,7 @@ curl --fail-with-body "https://api.pre.dev/browser-agent/$BATCH_ID?includeEvents An event uses `{ type, timestamp, iteration?, data }`, where `timestamp` is Unix time in milliseconds. Types include `navigation`, `plan`, `action`, `screenshot`, `validation`, `done`, `error`, and lifecycle events. Accept unfamiliar event types and inspect their payloads instead of assuming a closed list. -Screenshot payloads can contain inline image data rather than a URL. A screenshot URL is a private signed link that works for at least seven days; fetch the run again for fresh links, and download any image you need to keep. Events vary by execution path and are not guaranteed for every step. Timelines can be large, so omit them from routine status checks. The [existing-run stream](/browser-agents/api/stream-task) provides a snapshot followed by live updates. +Screenshot payloads can contain inline image data rather than a URL. A screenshot URL is a private signed link. It works for at least seven days, or for at least an hour when the task could sign in to a site: tasks that run in agent mode, which may create an account when what you ask for needs one, and tasks whose `input` or `instruction` carries a password, a one-time code, a token or a key. Screenshots of those tasks are stored apart, with no public address. Fetch the run again for fresh links, and download any image you need to keep. Events vary by execution path and are not guaranteed for every step. Timelines can be large, so omit them from routine status checks. The [existing-run stream](/browser-agents/api/stream-task) provides a snapshot followed by live updates. ## Errors