ID • Rust AI Agent SDK

id: Get session ID

id

Method

</div>

This is a method of the Session class in the session module.

Get session ID

Signature

python
def id(&self) -> &str

Returns

ResponseField &str

The result of the operation.