GET
/
api
/
v1
/
insights
/
workflows
import os
import syllable_sdk
from syllable_sdk import SyllableSDK


with SyllableSDK(
    api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:

    res = ss_client.insights.workflows.list(page=0, search_fields=[
        syllable_sdk.InsightWorkflowProperties.NAME,
    ], search_field_values=[
        "Some Object Name",
    ], start_datetime="2023-01-01T00:00:00Z", end_datetime="2024-01-01T00:00:00Z")

    # Handle response
    print(res)
{
  "items": [
    {
      "name": "summary-workflow",
      "source": "agent",
      "description": "Default workflow - generates a summary of the call",
      "insight_tool_ids": [
        1
      ],
      "conditions": {
        "min_duration": 120,
        "max_duration": 600,
        "sample_rate": 2,
        "agent_list": [
          866324,
          826325
        ],
        "prompt_list": [
          123324
        ],
        "folder_list": [
          16754,
          67535
        ]
      },
      "start_datetime": "2025-05-07T00:00:00Z",
      "end_datetime": "2025-05-08T00:00:00Z",
      "id": 1,
      "insight_tools": [
        {
          "name": "summary-tool",
          "description": "This tool uses GPT4.1 to generate a summary of the call",
          "version": 1,
          "tool_arguments": "<any>",
          "insight_tool_definition_id": 1,
          "id": 1,
          "insight_tool_definition": {
            "id": 1,
            "name": "llm_tool",
            "type": "<string>",
            "description": "An LLM tool evaluates a transcript with a given prompt",
            "tool_parameters": "<any>",
            "tool_result_set": "<any>"
          },
          "created_at": "2025-05-07T00:00:00Z",
          "updated_at": "2025-05-08T00:00:00Z",
          "last_updated_by": "user@email.com"
        }
      ],
      "status": "ACTIVE",
      "estimate": {
        "backfill_count": 100,
        "backfill_duration": 1000,
        "estimated_daily_count": 10,
        "estimated_daily_duration": "3674.11",
        "estimated_daily_cost": "45.25",
        "estimated_backfill_cost": "4561.00"
      },
      "created_at": "2025-05-07T00:00:00Z",
      "updated_at": "2025-05-08T00:00:00Z",
      "last_updated_by": "user@email.com"
    }
  ],
  "page": 0,
  "page_size": 25,
  "total_pages": 4,
  "total_count": 100
}

Authorizations

Syllable-API-Key
string
header
required

Query Parameters

page
integer | null
default:0

The page number from which to start (0-based)

Required range: x >= 0
Examples:

0

limit
integer
default:25

The maximum number of items to return

Required range: x >= 0
Examples:

25

search_fields
enum<string>[]

String names of fields to search. Correspond by index to search field values

Available options:
id,
name,
description,
status,
conditions,
insight_tool_ids,
updated_at
Examples:

"name"

search_field_values
string[]

Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list

Examples:

"Some Object Name"

order_by
enum<string> | null

The field whose value should be used to order the results

Available options:
id,
name,
description,
status,
conditions,
insight_tool_ids,
updated_at
Examples:

"name"

order_by_direction
enum<string> | null

The direction in which to order the results

Available options:
asc,
desc
fields
enum<string>[] | null

The fields to include in the response

Available options:
id,
name,
description,
status,
conditions,
insight_tool_ids,
updated_at
start_datetime
string | null

The start datetime for filtering results

Examples:

"2023-01-01T00:00:00Z"

end_datetime
string | null

The end datetime for filtering results

Examples:

"2024-01-01T00:00:00Z"

Response

200
application/json
Successful Response

The response is of type object.