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

python
def session_id() -> str

Returns

ResponseField str

The result of the operation.

Source

View on GitHub

praisonaiagents/trace/context_events.py at line 1536


Related Documentation