# get_active_session ## API Definition ```python def get_active_session() -> Optional[GraphSession] ``` *Source: graph.py* ## Import Surface - top-level: `from simplecadapi import get_active_session` ## Description Return the currently active GraphSession, or None.