---
title: "Fetch Insights Upload Files"
method: GET
path: "/api/v1/insights/folders/{folder_id}/files"
tags: ["insights.folders"]
---

# Fetch Insights Upload Files

`GET /api/v1/insights/folders/{folder_id}/files`

## Path parameters

- `folder_id` integer, required

## Query parameters

- `page` integer, nullable — The page number from which to start (0-based)
- `limit` integer — The maximum number of items to return
- `search_fields` InsightsUploadFileProperties[] — String names of fields to search. Correspond by index to search field values
- `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
- `order_by` 'filename' | 'filename_exact' | 'call_id' | 'agent_number' | 'customer_number' | 'duration' | 'start_time' | 'end_time' | 'created_at'
- `order_by_direction` 'asc' | 'desc' — The direction in which to order list results, either ascending or descending.
- `fields` InsightsUploadFileProperties[], nullable — The fields to include in the response
- `start_datetime` string, nullable — The start datetime for filtering results
- `end_datetime` string, nullable — The end datetime for filtering results

## Response `200`

Successful Response

- ListResponseInsightsUploadFile
  - `items` InsightsUploadFile[], required — List of items returned from the query
    - `id` integer, required — System-assigned ID for the upload file
    - `folder_id` integer, required — System-assigned ID for the folder to which the file belongs
    - `filename` string, required — Name of the uploaded file
    - `object_key` string, required — Object-store key of the uploaded file
    - `call_id` string, nullable — Unique identifier for the call associated with the uploaded file
    - `agent_number` string, nullable — Agent number associated with the uploaded file
    - `customer_number` string, nullable — Customer number associated with the uploaded file
    - `duration` number, nullable — Length in seconds of the uploaded recording
    - `start_time` string, date-time, nullable — Start time of the uploaded file
    - `end_time` string, date-time, nullable — End time of the uploaded file
    - `error_message` string, nullable — Error message associated with the uploaded file
    - `metadata` object, nullable — Meta-data associated with the uploaded file
    - `created_at` string, date-time — Timestamp at which insight upload file was created
  - `page` integer, required — The page number of the results (0-based)
  - `page_size` integer, required — The number of items returned per page
  - `total_pages` integer, nullable — The total number of pages of results given the indicated page size
  - `total_count` integer, nullable — The total number of items returned from the query

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/asksyllable/apis/syllablesdk.md) · [All operations](https://skmtc.net/asksyllable/apis/syllablesdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/asksyllable/syllablesdk/versions/ac3228f980bb/schema)
