Javascript
import Honcho from '@honcho-ai/core'; const client = new Honcho({ apiKey: 'My API Key', }); const response = await client.workspaces.peers.chat('workspace_id', 'peer_id', { query: 'x' }); console.log(response.content);
{ "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
Response to a question informed by Honcho's User Representation
The response is of type object.
object