GET
/
v2
/
workspaces
/
{workspace_id}
/
sessions
/
{session_id}
/
summaries
JavaScript
import Honcho from '@honcho-ai/core';

const client = new Honcho({
  apiKey: 'My API Key',
});

const response = await client.workspaces.sessions.summaries('workspace_id', 'session_id');

console.log(response.id);
{
  "id": "<string>",
  "short_summary": {
    "content": "<string>",
    "message_id": 123,
    "summary_type": "<string>",
    "created_at": "<string>",
    "token_count": 123
  },
  "long_summary": {
    "content": "<string>",
    "message_id": 123,
    "summary_type": "<string>",
    "created_at": "<string>",
    "token_count": 123
  }
}

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

Response

200
application/json

Successful Response

The response is of type object.