---
title: "Upload Insights  Upload Folder"
method: POST
path: "/api/v1/insights/folders/{folder_id}/upload-file"
tags: ["insights.folders"]
---

# Upload Insights  Upload Folder

`POST /api/v1/insights/folders/{folder_id}/upload-file`

## Path parameters

- `folder_id` integer, required

## Query parameters

- `call_id` string, required — A unique identifier for the call
- `agent_number` string, nullable — The phone number or ID of the agent involved.
- `customer_number` string, nullable — The phone number or ID of the customer.
- `start_time` string, date-time, nullable — The timestamp of the call's beginning
- `end_time` string, date-time, nullable — The timestamp of the call's end.
- `duration` number, nullable — The call duration in seconds.
- `metadata` string, nullable

## Response `200`

Successful Response

- InsightsUploadFile — Response model for an insight upload file.
  - `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

## 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)
