import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.sessions.fullSummary.getById({
sessionId: "<id>",
});
console.log(result);
}
run();{
"summary": "The customer service agent successfully assisted the caller with their inquiry and the call ended positively.",
"rating": "Good"
}import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.sessions.fullSummary.getById({
sessionId: "<id>",
});
console.log(result);
}
run();{
"summary": "The customer service agent successfully assisted the caller with their inquiry and the call ended positively.",
"rating": "Good"
}Successful Response