Session ID • AI Agent SDK
session_id: Get the session ID.
session_id
Method
</div>
This is a method of the ContextTraceEmitter class in the context_events module.
Get the session ID.
Signature
def session_id() -> strReturns
ResponseField
strThe result of the operation.
Source
View on GitHubpraisonaiagents/trace/context_events.py at line 1523