---
title: "Agent Asset Upload Url"
method: POST
path: "/agent/assets/upload-url"
---

# Agent Asset Upload Url

`POST /agent/assets/upload-url`

## Request

- Base URL: `https://app.wunel.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.wunel.com/agent/assets/upload-url`
- Auth: none declared

Reserve an asset + return a one-time URL to PUT the file bytes to directly
(so big files never pass through an agent's context).

## Request body

- UploadUrlRequest
  - `filename` string, required
  - `content_type` string, nullable
  - `workspace_id` string, nullable
  - `doc_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/wunel/apis/wunel-api.md) · [All operations](https://skmtc.dev/wunel/apis/wunel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wunel/apis/wunel-api/revisions/872fe0687a60?raw)
