> ## Documentation Index
> Fetch the complete documentation index at: https://docs.browser-use.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sessions

> Continue one conversation across multiple V4 runs.

A **session** holds the agent's conversation and can reuse its live browser.
One session ID can contain multiple runs. Every run creates a session implicitly
unless you pass an existing session ID.

<img src="https://mintcdn.com/browseruse-0aece648/BCDzEtKfFmujvTtJ/cloud/images/v4-sessions-light.svg?fit=max&auto=format&n=BCDzEtKfFmujvTtJ&q=85&s=d5655e8013e6f77fa3eb3f7b8ad5b590" alt="One session ID containing three sequential runs, where each run continues the same conversation, workspace, and live browser" noZoom className="block dark:hidden" width="1200" height="400" data-path="cloud/images/v4-sessions-light.svg" />

<img src="https://mintcdn.com/browseruse-0aece648/BCDzEtKfFmujvTtJ/cloud/images/v4-sessions-dark.svg?fit=max&auto=format&n=BCDzEtKfFmujvTtJ&q=85&s=3552acfbc255ec371a3a6903e5904ebe" alt="One session ID containing three sequential runs, where each run continues the same conversation, workspace, and live browser" noZoom className="hidden dark:block" width="1200" height="400" data-path="cloud/images/v4-sessions-dark.svg" />

Pass `session_id` / `sessionId` to continue:

<CodeGroup>
  ```python Python theme={null}
  first = client.runs.create("Open Hacker News")
  client.runs.wait_for_completion(first.id)

  follow_up = client.runs.create(
      "Now summarize the top story",
      session_id=first.session_id,
  )
  result = client.runs.wait_for_completion(follow_up.id)
  print(result.result)
  ```

  ```typescript TypeScript theme={null}
  const first = await client.runs.create({
    task: "Open Hacker News",
    model: "grok-4.5",
  });
  await client.runs.waitForCompletion(first.id);

  const followUp = await client.runs.create({
    task: "Now summarize the top story",
    model: "grok-4.5",
    sessionId: first.sessionId,
  });
  const result = await client.runs.waitForCompletion(followUp.id);
  console.log(result.result);
  ```
</CodeGroup>

Omit the session ID for a new conversation. Pass only a [workspace
ID](/cloud/agent/workspaces) when you want a fresh conversation that keeps the
same files.
