import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.insights.workflows.queueWork({
workflowName: "summary-workflow",
sessionIdList: [
12334,
23445,
34556,
],
fileIdList: [
1234,
1678,
2224,
],
});
console.log(result);
}
run();{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Manually queue sessions for insights workflow evaluation.
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.insights.workflows.queueWork({
workflowName: "summary-workflow",
sessionIdList: [
12334,
23445,
34556,
],
fileIdList: [
1234,
1678,
2224,
],
});
console.log(result);
}
run();{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Session identifier for workflow queue.
Successful Response