v48

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-0238179.2 KB
System

Proactive memory-pressure cleanup

Closes tabs observed idle across multiple checks while preserving tabs with active/queued operations. Never returns URLs, titles, cookies, page text, or user IDs. Defaults to dry-run mode.

post/pressure/cleanup

Request body

dryRunboolean

When true, returns candidates without closing them.

minIdleMsnumber

Minimum idle time (ms) before a tab is eligible.

maxTabsToClosenumber

Maximum tabs to close per invocation.

minTabsPerSessionnumber

Preserve at least this many tabs per session.

closeEmptySessionsboolean

Close sessions left with zero tabs after cleanup.

Response

Cleanup result with before/after counts and hashed metadata.

okboolean
dryRunboolean
candidatesinteger
closedobject[]
preservedobject