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

# SessionState

> SessionState

```python theme={null}
from grid_nexus_client import SessionState
```

## Fields

<ResponseField name="robot_id" type="str" />

<ResponseField name="session_id" type="str | None" />

<ResponseField name="state" type="str" />

<ResponseField name="connected_roles" type="tuple[str, ...]" />

<ResponseField name="stale_nodes" type="int" />

<ResponseField name="error_count" type="int" />

<ResponseField name="last_update_ms" type="int" />

## Constructor

```python Signature theme={null}
SessionState(
    robot_id: str,
    session_id: str | None,
    state: str,
    connected_roles: tuple[str, ...],
    stale_nodes: int,
    error_count: int,
    last_update_ms: int,
)
```


## Related topics

- [Your first skill](/get-started/first-skill.md)
- [The Intelligence Grid for Physical AI](/introduction.md)
- [Environment Config](/simulation/isaac/session_configuration/env.md)
- [ROS2 Communication](/simulation/isaac/comms.md)
- [pi05](/models/cortex/pi05.md)
