import os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.insights.workflows.queue_work(request={
"workflow_name": "summary-workflow",
"session_id_list": [
12334,
23445,
34556,
],
"file_id_list": [
1234,
1678,
2224,
],
})
# Handle response
print(res){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Manually queue sessions for insights workflow evaluation.
import os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.insights.workflows.queue_work(request={
"workflow_name": "summary-workflow",
"session_id_list": [
12334,
23445,
34556,
],
"file_id_list": [
1234,
1678,
2224,
],
})
# Handle response
print(res){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Session identifier for workflow queue.
Successful Response