cURL
curl --request POST \ --url http://localhost:8000/v2/workspaces/{workspace_id}/sessions/{session_id}/peers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "id": "<string>", "is_active": true, "workspace_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "metadata": {}, "configuration": {} }
Add peers to 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
List of peer IDs to add to the session
Show child attributes
Whether honcho should form a global theory-of-mind representation of this peer
Whether this peer should form a session-level theory-of-mind representation of other peers in the session
Successful Response