cURL
curl --request POST \ --url http://localhost:8000/v2/workspaces/{workspace_id}/peers/{peer_id}/chat \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "query": "<string>", "session_id": "<string>", "target": "<string>", "stream": false } '
{ "content": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the workspace
ID of the peer
Dialectic Endpoint Parameters
Dialectic API Prompt
1 - 10000
ID of the session to scope the representation to
Optional peer to get the representation for, from the perspective of this peer
Response to a question informed by Honcho's User Representation