Skip to content

get_site_data

Kelly Ferrone edited this page Oct 10, 2026 · 7 revisions

workspace://site-data/{site}

One site's saved cookies and storage.

MCP resource workspace://site-data/{site}
HTTP GET /site-data/{site}

One site's saved data: its cookies, and the localStorage and sessionStorage of each of its origins. An httpOnly cookie's value is shown as •••; nothing else is hidden. The site is a host from the workspace://site-data listing.

Parameters

Name Type Required Default Notes
site string yes — A host from the listing, such as app.example.com.

Every call names its workspace: an X-Workspace header, or ?workspace=<name>. Sending both is refused. See Workspaces.

Returns

Field Type Notes
site string
uri string
cookies array
storage array Per origin: the same host on another port or scheme is another origin. sessionStorage is the one tab's, for the page the save was made on.
own_cookies array Cookies this site owns (host or .host): what Forget removes.
kept_shared array Parent-domain cookies it only sits under: Forget keeps them.

Errors

Status Means
400 No workspace named, two names given, or no saved data for that site. Do not retry it unchanged.
401 Missing or wrong bearer token.
500 Something failed that this server did not expect.

Over MCP the same failures arrive as a tool error.

Example

MCP

read workspace://site-data/{site}

read_resource(uri="workspace://site-data/{site}")

HTTP

curl -X GET $SELENIUM_FLOW/site-data/{site} \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-Workspace: $WORKSPACE"

← All actions · Installing · Deployment

Clone this wiki locally