Skip to main content
POST
/
v2
/
workspaces
/
{workspace_id}
/
sessions
/
{session_id}
/
peers
/
{peer_id}
/
config
Set Peer Config
curl --request POST \
  --url http://localhost:8000/v2/workspaces/{workspace_id}/sessions/{session_id}/peers/{peer_id}/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "observe_me": true,
  "observe_others": true
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

ID of the workspace

session_id
string
required

ID of the session

peer_id
string
required

ID of the peer

Body

application/json

Peer configuration

observe_me
boolean | null

Whether honcho should form a global theory-of-mind representation of this peer

observe_others
boolean | null

Whether this peer should form a session-level theory-of-mind representation of other peers in the session

Response

Successful Response