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.folders.move_files(folder_id=815114, insights_folder_file_move={
"destination_folder_id": 182764,
"file_id_list": [
12334,
23445,
34556,
],
})
# Handle response
print(res)
[
{
"id": 182764,
"folder_id": 182764,
"filename": "customer-complaints.wav",
"object_key": "UPLOAD_CALL_ID/recording/2025/04/22/15/00/ce7d212e-80b0-4f0b-9e01-74322f146611.mp3",
"call_id": "12345",
"agent_number": "1234567890",
"customer_number": "0987654321",
"duration": 305.5,
"start_time": "2025-08-13T00:00:00Z",
"end_time": "2025-08-14T00:00:00Z",
"error_message": "File not found",
"metadata": {
"duration": "00:10:00",
"size": "10MB"
},
"created_at": "2025-08-13T00:00:00Z"
}
]
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.folders.move_files(folder_id=815114, insights_folder_file_move={
"destination_folder_id": 182764,
"file_id_list": [
12334,
23445,
34556,
],
})
# Handle response
print(res)
[
{
"id": 182764,
"folder_id": 182764,
"filename": "customer-complaints.wav",
"object_key": "UPLOAD_CALL_ID/recording/2025/04/22/15/00/ce7d212e-80b0-4f0b-9e01-74322f146611.mp3",
"call_id": "12345",
"agent_number": "1234567890",
"customer_number": "0987654321",
"duration": 305.5,
"start_time": "2025-08-13T00:00:00Z",
"end_time": "2025-08-14T00:00:00Z",
"error_message": "File not found",
"metadata": {
"duration": "00:10:00",
"size": "10MB"
},
"created_at": "2025-08-13T00:00:00Z"
}
]
Request model to move files between insight upload folders.
Successful Response
The response is of type InsightsUploadFile · object[]
.