Move Insights Upload Files
/api/v1/insights/folders/{folder_id}/move-filesAuthentication
Syllable-API-KeyrequiredSend Syllable-API-Key in the header.
Need a credential? Create or manage an API token in the Syllable Console.
Parameters
Path parameters
folder_id
integer
path
required
Request body
application/json
body
InsightsFolderFileMove
required
2 fields
destination_folder_idintegerrequiredSystem-assign folder ID
file_id_listinteger[]requiredList of system-assigned IDs for the files to be moved
Item schema
itemsintegerrequiredRequest example
{
"destination_folder_id": 0,
"file_id_list": [
0
]
}Responses
200Successful Response
application/json
response
InsightsUploadFile[]
required
Item schema
itemsInsightsUploadFilerequiredResponse model for an insight upload file.
13 fields
idintegerrequiredSystem-assigned ID for the upload file
folder_idintegerrequiredSystem-assigned ID for the folder to which the file belongs
filenamestringrequiredName of the uploaded file
object_keystringrequiredObject-store key of the uploaded file
call_idstring | nulloptionalUnique identifier for the call associated with the uploaded file
agent_numberstring | nulloptionalAgent number associated with the uploaded file
customer_numberstring | nulloptionalCustomer number associated with the uploaded file
durationnumber | nulloptionalLength in seconds of the uploaded recording
start_timestring (date-time) | nulloptionalStart time of the uploaded file
end_timestring (date-time) | nulloptionalEnd time of the uploaded file
error_messagestring | nulloptionalError message associated with the uploaded file
metadataobject | nulloptionalMeta-data associated with the uploaded file
1 options
{key}string | integer | numberoptional3 options
Option 1stringoptionalOption 2integeroptionalOption 3numberoptionalcreated_atstring (date-time)optionalTimestamp at which insight upload file was created
Response example
[
{
"id": 0,
"folder_id": 0,
"filename": "string",
"object_key": "string",
"call_id": "string",
"agent_number": "string",
"customer_number": "string",
"duration": "string",
"start_time": "string",
"end_time": "string",
"error_message": "string",
"metadata": "string",
"created_at": "string"
}
]422Validation Error
application/json
response
HTTPValidationError
required
1 field
detailValidationError[]optionalItem schema
itemsValidationErrorrequired3 fields
locstring | integer[]requiredItem schema
itemsstring | integerrequired2 options
Option 1stringrequiredOption 2integerrequiredmsgstringrequiredtypestringrequiredResponse example
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
