Is Active • Rust AI Agent SDK

is_active: Whether the session is currently active.

is_active

Method

</div>

This is a method of the GatewaySessionProtocol class in the gateway module.

Whether the session is currently active.

Signature

python
def is_active(&self) -> bool

Returns

ResponseField bool

The result of the operation.