v66

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-04176310979.2 KB
insights.folders

Fetch Insights Upload Files

get/api/v1/insights/folders/{folder_id}/files

Path parameters

folder_idinteger required

Query parameters

pageinteger nullable

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

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

limitinteger

The maximum number of items to return

Example:25

The maximum number of items to return

search_fieldsInsightsUploadFileProperties[]

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

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

search_field_valuesstring[]

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

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

order_by'filename' | 'filename_exact' | 'call_id' | 'agent_number' | 'customer_number' | 'duration' | 'start_time' | 'end_time' | 'created_at'

The field whose value should be used to order the results

order_by_direction'asc' | 'desc'

The direction in which to order list results, either ascending or descending.

The direction in which to order the results

fieldsInsightsUploadFileProperties[] nullable

The fields to include in the response

The fields to include in the response

start_datetimestring nullable

The start datetime for filtering results

Example:2023-01-01T00:00:00Z

The start datetime for filtering results

end_datetimestring nullable

The end datetime for filtering results

Example:2024-01-01T00:00:00Z

The end datetime for filtering results

Response

Successful Response

pageinteger required

The page number of the results (0-based)

page_sizeinteger required

The number of items returned per page

total_pagesinteger nullable

The total number of pages of results given the indicated page size

total_countinteger nullable

The total number of items returned from the query

Example response

{
  "items": [
    {
      "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": "2026-08-03T00:00:00Z",
      "end_time": "2026-08-04T00:00:00Z",
      "error_message": "File not found",
      "metadata": {
        "duration": "00:10:00",
        "size": "10MB"
      },
      "created_at": "2026-08-03T00:00:00Z"
    }
  ],
  "page_size": 25,
  "total_pages": 4,
  "total_count": 100
}