Session ID • AI Agent SDK

session_id: Get the current session ID.

session_id

Method

</div>

This is a method of the Agent class in the agent module.

Get the current session ID.

Signature

python
def session_id() -> Optional[str]

Returns

ResponseField Optional[str]

The result of the operation.

Source

View on GitHub

praisonaiagents/agent/agent.py at line 4904


Related Documentation