Active Sessions Count
Check how many sessions are currently active across your team usingGET /api/sessions/active-count (requires browser.sessions.read):
Session Event Logs
Session event logs record structured lifecycle and automation events for a session viaGET /api/session/{id}/event-logs (requires browser.sessions.logs.read).
Event Types
Querying Event Logs
Filter bytypes, targetId, startTimestamp, endTimestamp, page (1-indexed, default 1), and limit (1–100, default 10):
Debugging Runbook
When an automation run fails unexpectedly, work through this sequence:- Check session status & exit state — Call
sessions.get(id)and inspectstatus(active,closed,close-error,error) andlaunchState. - Watch or replay visually — Open
liveUrlwhile running (Live View), or retrieve the rrweb/MP4 replay after stop (Recordings). - Inspect event logs — Call
sessions.eventLogs.list(id)to see whether a CAPTCHA triggered (captcha_detected/captcha_error), a download finished (file_downloaded), or credential fill was refused (credential_fill_refused). - Verify concurrency headroom — Call
sessions.getActiveSessionsCount()before bursting new sessions so you stay below your plan’s concurrent session limit.