observers • AI Agent SDK
observers: Return “(client_id, role)“ pairs currently attached to the session.
observers
Method
</div>
This is a method of the SessionObserverProtocol class in the protocols module.
Return `(client_id, role)` pairs currently attached to the session.
Signature
def observers(session_id: str) -> 'List[Tuple[str, SessionSharingRole]]'Parameters
ParamField
strNo description available.
Returns
ResponseField
'List[Tuple[str, SessionSharingRole]]'The result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 345