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

# interact_create

> Create a browser sandbox interact session for code execution.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://api.firecrawl.dev/v2/interact"}</code></div>

```python firecrawl_interact_create.py theme={null}
from charter.packs import firecrawl

result = await firecrawl.interact_create.ainvoke({})
```

## Body

<div className="reference-table">
  | Field           | Type                                                                         | Description                                                                                                                                                 |
  | --------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `ttl`           | `integer`                                                                    | Total time-to-live in seconds for the interact session. The server applies 300 when this is absent. <span className="field-constraints">≥ 30; ≤ 3600</span> |
  | `activityTtl`   | `integer`                                                                    | Time in seconds before the session is destroyed due to inactivity <span className="field-constraints">≥ 10; ≤ 3600</span>                                   |
  | `streamWebView` | `boolean`                                                                    | Whether to stream a live view of the browser. The server applies true when this is absent.                                                                  |
  | `profile`       | [InteractProfile](/charter/charter/packs/firecrawl/interact/objects#interactprofile) | Enable persistent storage across interact sessions.                                                                                                         |
</div>
