---
title: "Enqueue an upload request."
method: POST
path: "/upload-requests"
---

# Enqueue an upload request.

`POST /upload-requests`

## Request

- Base URL: `http://localhost:6286`
- URL: `http://localhost:6286/upload-requests`
- Auth: none declared
- TypeScript: <https://skmtc.dev/iconik/apis/agent-api/docs/upload-requests/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- UploadRequestBody
  - `filePaths` string[], required
  - `destinationStorageId` string: The storage id to upload to. If no storage id is specified the current selection in the Agent will be used
  - `destinationCollectionId` string: The collection id to upload to. If no collection id is specified the current selection in the Agent will be used

## Response `200`

Default Response

---

[API](https://skmtc.dev/iconik/apis/agent-api.md) - [All operations](https://skmtc.dev/iconik/apis/agent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/agent-api/revisions/cd5eb7819e60?raw)
