Skip to main content

GET /tabs

Returns all open browser tabs for the specified user, grouped by session key. Returns an empty array if the user has no active session.

Authentication

Requires userId as a query parameter to identify which user’s tabs to list.

Request

Query parameters

string
required
User identifier. Returns tabs only for this user’s session.

Response

boolean
Always true when the server is operational.
array
Array of tab objects. Empty if user has no session or no open tabs.

Example

Response:
No active session:

Error responses

Notes

  • Returns tabs across all session keys for the specified user
  • Does not require an active session - returns empty array if user has no tabs
  • Tab titles are fetched asynchronously and may be empty if the page hasn’t loaded
  • The targetId field is included for compatibility with OpenClaw’s browser tool
  • Maximum tabs per session: 10 (configurable via MAX_TABS_PER_SESSION)
  • Global maximum across all users: 100 tabs (configurable via MAX_TABS_GLOBAL)