POST
/
api
/
v1
/
insights
/
workflows
/
queue-work
Python (SDK)
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)
"<any>"

Authorizations

Syllable-API-Key
string
header
required

Body

application/json

Session identifier for workflow queue.

workflow_name
string
required

Unique name for workflow

Examples:

"summary-workflow"

session_id_list
integer[] | null

List of session identifiers

Examples:

"[12334,23445,34556]"

file_id_list
integer[] | null

List of file IDs to be processed. This is only applicable for upload folders

Examples:

"[1234,1678,2224]"

Response

Successful Response

The response is of type any.