import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.sessions.transcript.getById({
sessionId: "<id>",
});
console.log(result);
}
run();{
"session_id": "<string>",
"transcription": [
{
"timestamp": "2023-11-07T05:31:56Z",
"lang": "en-US",
"source": "user",
"text": "<string>"
}
],
"actions": [
{
"timestamp": "2023-11-07T05:31:56Z",
"tool_name": "<string>",
"tool_request": "<string>",
"tool_result": "<string>",
"tool_error": "<string>"
}
]
}import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.sessions.transcript.getById({
sessionId: "<id>",
});
console.log(result);
}
run();{
"session_id": "<string>",
"transcription": [
{
"timestamp": "2023-11-07T05:31:56Z",
"lang": "en-US",
"source": "user",
"text": "<string>"
}
],
"actions": [
{
"timestamp": "2023-11-07T05:31:56Z",
"tool_name": "<string>",
"tool_request": "<string>",
"tool_result": "<string>",
"tool_error": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.syllable.ai/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Text transcript of a given session. For more information, see Console docs.