Javascript
import Honcho from '@honcho-ai/core'; const client = new Honcho({ apiKey: 'My API Key', }); const response = await client.workspaces.sessions.peers.getConfig('workspace_id', 'session_id', 'peer_id'); console.log(response.observe_me);
{ "observe_others": false, "observe_me": true }
Get the configuration for a peer in a session
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the workspace
ID of the session
ID of the peer
Successful Response
The response is of type object.
object