> ## Documentation Index
> Fetch the complete documentation index at: https://notte-experiment-visibility-md-links.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# offset

> Get the trajectory offset of the session

This is useful to start an agent that remembers information about steps
that happened before it started.

**Example:**

```python theme={null}
offset = session.offset()
```

## Returns

`int`: The session trajectory offset

## Raises

* `ValueError`: If the session hasn't been started yet (no session\_id available).
