import Honcho from '@honcho-ai/core';const client = new Honcho({ apiKey: process.env['HONCHO_API_KEY'], // This is the default and can be omitted});// Automatically fetches more pages as needed.for await (const message of client.workspaces.peers.search('workspace_id', 'peer_id', { query: 'query' })) { console.log(message.id);}
import Honcho from '@honcho-ai/core';const client = new Honcho({ apiKey: process.env['HONCHO_API_KEY'], // This is the default and can be omitted});// Automatically fetches more pages as needed.for await (const message of client.workspaces.peers.search('workspace_id', 'peer_id', { query: 'query' })) { console.log(message.id);}