POST
/
v1
/
apps
/
{app_id}
/
users
/
{user_id}
/
sessions
/
{session_id}
/
chat
/
stream
import Honcho from 'honcho-ai';

const client = new Honcho({
  apiKey: process.env['HONCHO_API_KEY'], // This is the default and can be omitted
});

async function main() {
  const response = await client.apps.users.sessions.stream('app_id', 'user_id', 'session_id', {
    queries: 'string',
  });

  console.log(response);
}

main();
"<any>"

Authorizations

Authorization
string
header
required

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

Path Parameters

app_id
string
required
user_id
string
required
session_id
string
required

Body

application/json
queries
required

Response

200
application/json
Chat stream

The response is of type any.